|
此示例显示被动-主动模式 LACP 配置:
Catalyst 3750 交换机堆叠 A
3750switchstackA(config)#interface gigabitethernet 1/0/43 和 gi2/0/43
3750switchstackA(config-if-range)#channel-group 4 mode passive
3750switchstackA(config-if-range)#switchport trunk encapsulation dot1q
3750switchstackA(config-if-range)#switchport mode trunk
3750switchstackA(config)#interface gigabitethernet 3/0/3
3750switchstackA(config-if)#channel-group 4 mode passive
3750switchstackA(config-if)#switchport trunk encapsulation dot1q
3750switchstackA(config-if)#switchport mode trunk
Catalyst 3750 交换机 B
3750switchstackB(config)#interface range gigabitethernet 1/0/47 - 48
3750switchst(config-if-range)#channel-group 4 mode active
3750switchst(config-if-range)#switchport trunk encapsulation dot1q
3750switchst(config-if-range)#switchport mode trunk
您可以使用以下方法验证 EtherChannel 状态:
SH_Core_3750X_48#show interfaces port-channel 4Port-channel4 is up, line protocol is up () Hardware is EtherChannel, address is d8b1.9080.852b ( MTU 1500 bytes, Kbit, DLY 10 usec, reliability 255/255, txload 1/255, rxload 1/255
SH_Core_3750X_48#show etherchannel 4 summary
Flags: D - down P - bundled in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator
M - not in use, minimum links not met
u - unsuitable for bundling
w - waiting to be aggregated
d - default port
Number of channel-groups in use: 3
Number of aggregators: 3
Group Port-channel Protocol Ports
------+-------------+-----------+--------------------------------------
4 Po4(SU) LACP Gi1/0/43(P) Gi2/0/43(P)
参考文档:
http://www.cisco.com/cisco/web/s ... k_etherchannel.html
|
|