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

December 2020

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

1831
查看次数
20
有帮助
4
评论
本帖最后由 xupeng 于 2015-7-20 17:51 编辑
提问:
=======

2条链路捆绑PAgP port channel,如果误配portchannel号会怎样?

Topology:
========

170517oytmjfpyhchj9mcu.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 mo desirable

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

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) PAgP Gi0/23(P) Gi0/24(P)
switch2#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) PAgP Gi0/23(P) Gi0/24(P)

Mis-config interface g0/23 to port-channel 2
===========================

switch1(config)#intg0/23
switch1(config-if)#channel-group2 mo desirable
Creatinga port-channel interface Port-channel 2


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

switch2#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) PAgP Gi0/23(D) Gi0/24(P)

switch1#
*Mar 1 00:06:53.541: %LINEPROTO-5-UPDOWN: Lineprotocol on Interface GigabitEthernet0/23, changed state to up
*Mar 1 10:46:15.441: %LINEPROTO-5-UPDOWN: Lineprotocol on Interface GigabitEthernet0/23, changed state to down
*Mar 1 10:46:18.235: %LINEPROTO-5-UPDOWN: Lineprotocol on Interface GigabitEthernet0/23, changed state to up
*Mar 1 10:46:19.225: %LINK-3-UPDOWN: InterfacePort-channel1, changed state to up
*Mar 1 10:46:20.802: %LINEPROTO-5-UPDOWN: Lineprotocol on Interface GigabitEthernet0/23, changed state to down
*Mar 1 10:46:21.808: %LINK-3-UPDOWN: InterfacePort-channel1, changed state to down
*Mar 1 10:46:23.301: %LINEPROTO-5-UPDOWN: Lineprotocol on Interface GigabitEthernet0/23, changed state to up
*Mar 1 10:46:24.291: %LINK-3-UPDOWN: InterfacePort-channel1, changed state to up
*Mar 1 10:46:25.348: %LINEPROTO-5-UPDOWN: Lineprotocol on Interface GigabitEthernet0/23, changed state to down
*Mar 1 10:46:26.363: %LINK-3-UPDOWN: InterfacePort-channel1, changed state to down
*Mar 1 10:46:27.965: %LINEPROTO-5-UPDOWN: Lineprotocol on Interface GigabitEthernet0/23, changed state to up
*Mar 1 10:46:28.947: %LINK-3-UPDOWN: InterfacePort-channel1, changed state to up
*Mar 1 10:46:30.021: %LINEPROTO-5-UPDOWN: Lineprotocol on Interface GigabitEthernet0/23, changed state to down
*Mar 1 10:46:31.036: %LINK-3-UPDOWN: InterfacePort-channel1, changed state to down
*Mar 1 10:46:31.547:%PM-4-ERR_DISABLE: pagp-flap error detected on Gi0/23, putting Gi0/23 inerr-disable state
*Mar 1 10:46:33.569: %LINK-3-UPDOWN: InterfaceGigabitEthernet0/23, changed state to down

switch1#sherrdisable detect
ErrDisableReason Detection Mode
----------------- --------- ----
pagp-flap Enabled port

switch1#sherrdisable flap-values
ErrDisableReason Flaps Time (sec)
----------------- ------ ----------
pagp-flap 3 30
dtp-flap 3 30
link-flap 5 10


总结:
=====
当误配PAgP portchannel号,会导致链路翻动,在30秒内翻动3次触发err-disable, 接口被置为down状态


评论
Fusen Huang
Cisco Employee
赞!
Fisheryu
Cisco Employee
:):):):)
chundli
Cisco Employee
:):):)
taosun2
Cisco Employee
赞!
创建
认可您的同行
Content for Community-Ad