取消
显示结果 
搜索替代 
您的意思是: 
cancel
8864
查看次数
32
有帮助
12
评论
xupeng
Cisco Employee
Cisco Employee
本帖最后由 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成为主用链路


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

谢谢楼主分享!!!
入门指南

使用上面的搜索栏输入关键字、短语或问题,搜索问题的答案。

我们希望您在这里的旅程尽可能顺利,因此这里有一些链接可以帮助您快速熟悉思科社区:









快捷链接