H3C交換機配置鏈路聚合

内蒙古快3历史开奖号码 www.scvddt.com.cn 日期:2017-04-11 16:12

#?創建聚合組1(根據具體情況選擇下面兩種方式之一)。

?

l采用靜態聚合模式:創建二層聚合接口1

?

????system-view

?

????[SwitchA]interfacebridge-aggregation1

?

????[SwitchA-Bridge-Aggregation1]quit

?

l采用動態聚合模式:創建二層聚合接口,并配置動態聚合模式

?

????system-view

?

????[SwitchA]interfacebridge-aggregation1

?

????[SwitchA-Bridge-Aggregation1]link-aggregationmodedynamic

?

#?將以太網端口GigabitEthernet1/0/1至GigabitEthernet1/0/3加入聚合組1。

?

????[SwitchA]interfaceGigabitEthernet1/0/1

?

????[SwitchA-GigabitEthernet1/0/1]portlink-aggregationgroup1

?

????[SwitchA-GigabitEthernet1/0/1]interfaceGigabitEthernet1/0/2

?

????[SwitchA-GigabitEthernet1/0/2]portlink-aggregationgroup1

?

????[SwitchA-GigabitEthernet1/0/2]interfaceGigabitEthernet1/0/3

?

????[SwitchA-GigabitEthernet1/0/3]portlink-aggregationgroup1

?

????[SwitchA-GigabitEthernet1/0/3]quit

?

#?配置二層聚合接口1所屬VLAN,并將該配置批量下發到各成員端口上。

?

????[SwitchA]interfacebridge-aggregation1

?

????[SwitchA-Bridge-Aggregation1]portaccessvlan20

?

????[SwitchA-Bridge-Aggregation1]quit

?

#?顯示配置信息。

?

l采用靜態聚合模式的鏈路聚合配置信息

?

????[SwitchA]displaylink-aggregationverbose

?

LoadsharingType:Shar--Loadsharing,NonS--Non-Loadsharing

?

PortStatus:S--Selected,U--Unselected

?

Flags:?A--LACP_Activity,B--LACP_Timeout,C--Aggregation,

?

???????D--Synchronization,E--Collecting,F--Distributing,

?

???????G--Defaulted,H--Expired

?

AggregationInterface:Bridge-Aggregation1

?

AggregationMode:Static

?

LoadsharingType:Shar

?

?Port????????????Status???Oper-Key

?

--------------------------------------------------------------------------------

?

?GE1/0/1????????S????????1

?

?GE1/0/2????????S????????1

?

?GE1/0/3????????S????????1

?

結果說明:本端加入到靜態聚合組內的成員端口都處于Selected狀態,與對端對應端口是否是Selected狀態無關。

?

l采用動態聚合模式的鏈路聚合配置信息

?

[SwitchA]displaylink-aggregationverbose

?

LoadsharingType:Shar--Loadsharing,NonS--Non-Loadsharing

?

PortStatus:S--Selected,U--Unselected

?

Flags:?A--LACP_Activity,B--LACP_Timeout,C--Aggregation,

?

???????D--Synchronization,E--Collecting,F--Distributing,

?

???????G--Defaulted,H--Expired

?

AggregationInterface:Bridge-Aggregation1

?

AggregationMode:Dynamic

?

LoadsharingType:Shar

?

SystemID:0x8000,000f-e234-5678

?

Local:

?

?Port????????????Status?PriorityOper-Key?Flag

?

--------------------------------------------------------------------------------

?

?GE1/0/1?????????S??????32768???1????????{ACDEF}

?

?GE1/0/2?????????S??????32768???1????????{ACDEF}

?

?GE1/0/3?????????S??????32768???1????????{ACDEF}

?

Remote:

?

?Actor???????????PartnerPriorityOper-Key?SystemID??????????????Flag

?

--------------------------------------------------------------------------------

?

?GE1/0/1?????????17?????32768???1????????0x8000,0000-fc00-6504{ACDEF}

?

?GE1/0/2?????????18?????32768???1????????0x8000,0000-fc00-6504{ACDEF}

?

?GE1/0/3?????????19?????32768???1????????0x8000,0000-fc00-6504{ACDEF}

?