取消
显示结果 
搜索替代 
您的意思是: 
cancel
公告

December 2020

[案例分享] 误配LACP portchannel号会怎样?

6875
查看次数
32
有帮助
12
评论
本帖最后由 xupeng 于 2015-10-28 08:13 编辑
提问:
=======
2条链路捆绑LACP port channel,如果误配portchannel号会怎样?
Topology:
========


174031yses5ur335hu0trj.jpg


-Hardware:WS-C3560E-48PD
-Software:c3560e-universalk9-mz.122-55.SE8.bin






Configure:
==========
switch1(config)#intrange g0/23-24
switch1(config-if-range)#channel-group1 mode active


switch2(config)#int range g0/23-24
switch2(config-if-range)#channel-group 1 mode active


EtherChannel status:
==================

switch1#shetherchannel 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
Numberof channel-groups in use: 1
Numberof aggregators: 1
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
1 Po1(SU) LACP Gi0/23(P) Gi0/24(P)

switch2#showetherchannel 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
Numberof channel-groups in use: 1
Numberof aggregators: 1
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
1 Po1(SU) LACP Gi0/23(P) Gi0/24(P)







Mis-config interface g0/23 to port-channel 2
===========================
switch1(config)#intg0/23
switch1(config-if)#channel-group2 mode active
Creatinga port-channel interface Port-channel 2

EtherChannel status:
==================
switch1#showetherchannel 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
Numberof channel-groups in use: 2
Numberof aggregators: 2
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
1 Po1(SU) LACP Gi0/24(P)
2 Po2(SD) LACP Gi0/23(H)

switch2#showetherchannel 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
Numberof channel-groups in use: 1
Numberof aggregators: 1
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
1 Po1(SU) LACP Gi0/23(s) Gi0/24(P)

shutdown interface

===============


switch1(config)#intg0/24
switch1(config-if)#shut


EtherChannel status:
==================
switch1#showetherchannel 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
Numberof channel-groups in use: 2
Numberof aggregators: 2
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
1 Po1(SD) LACP Gi0/24(D)
2 Po2(SU) LACP Gi0/23(P)

switch2#show etherchannel 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
Numberof channel-groups in use: 1
Numberof aggregators: 1
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
1 Po1(SU) LACP Gi0/23(P) Gi0/24(D)

总结:

=====
当误配LACP portchannel号, 误配的链路将进入hot-standby状态,当主链路故障,hot-standby链路up成为主用链路


评论
Fusen Huang
Cisco Employee
赞!
songwa
Cisco Employee
siyzhang
Advisor
非常棒的分享!专业!
Fisheryu
Cisco Employee
:):):):)
chundli
Cisco Employee
谢谢分享!
taosun2
Cisco Employee
赞!!!
zhihao zou
Beginner
非常专业的测试
414014267a
Community Member
非常棒的分享!专业!
sxsure001
Beginner
谢谢分享lollol
suzhouxiaoniu
Advocate
感谢这些案例分享,希望继续提供:handshake
kkwangchaoyi
Beginner
谢谢分享···········
linlinwa
Cisco Employee

谢谢楼主分享!!!
创建
认可您的同行
Content for Community-Ad