ðÒÉ×ÅÔ.

š ôÏ ÌÉ ÌÙÖÉ ÎÅ ÅÄÕÔ, ÔÏ ÌÉ Ñ...

äÁÎÏ:
š Cisco 7606 (12.2(33)SRD2), Cisco Catalyst 3750 (12.2(55)SE3)
š ïÎÉ ÓÏÅÄÉÎÅÎÙ ÍÅÖÄÕ ÓÏÂÏÊ Ä×ÕÍÑ GiEth. (7606:Gi1/1 <=> 3750:Gi1/0/52, 7606:Gi1/2 <=> 3750:Gi2/0/28)
š óÔÒÏÉÍ Port-Channel48.

ïÎ ÎÅ ÐÏÄÎÉÍÁÅÔÓÑ Ó ÓÏÏÂÝÅÎÉÅÍ × ÌÏÇÁÈ ÎÁ 7606:
Jul 20 22:20:02.473: %EC-SP-5-CANNOT_BUNDLE_LACP: Gi1/2 is not compatible with aggregators in channel 48 and cannot attach to them (trunk mode of Gi1/2 is trunk, Gi1/1 is dynamic)
îÁ 3750 × ÌÏÇÁÈ ÐÕÓÔÏ. ðÒÉ ÜÔÏÍ ÎÁ 3750 ÅÓÔØ ÅÝ£ Ä×Á Port-Channel ÎÁ ÓÏÓÅÄÎÀÀ ËÏÛËÕ, ËÏÔÏÒÙÅ ÒÁÂÏÔÁÀÔ × ÔÏÞÎÏ ÔÁËÏÊ ÖÅ ËÏÎÆÉÇÕÒÁÃÉÉ

ëÏÎÆÉÇ:
7606:
interface GigabitEthernet1/1
šdescription => Gi1/0/52
šswitchport
šswitchport trunk encapsulation dot1q
šswitchport trunk allowed vlan 2,3,5
šswitchport mode trunk
šswitchport nonegotiate
šmls qos vlan-based
šchannel-protocol lacp
šchannel-group 48 mode active
!
interface GigabitEthernet1/2
šdescription => Gi2/0/28
šswitchport
šswitchport trunk encapsulation dot1q
šswitchport trunk allowed vlan 2,3,5
šswitchport mode trunk
šswitchport nonegotiate
šmls qos vlan-based
šchannel-protocol lacp
šchannel-group 48 mode active
!
interface Port-channel48
šdescription => Po48 (Gi1/0/52+Gi2/0/28)
šswitchport
šswitchport trunk encapsulation dot1q
šswitchport trunk allowed vlan 2,3,5
šswitchport mode trunk
šswitchport nonegotiate
šmls qos vlan-based

3750:
interface GigabitEthernet1/0/52
šdescription => Gi1/1
šswitchport trunk encapsulation dot1q
šswitchport trunk allowed vlan 2,3,5
šswitchport mode trunk
šswitchport nonegotiate
šchannel-protocol lacp
šchannel-group 48 mode active
!
interface GigabitEthernet2/0/28
šdescription => Gi1/2
šswitchport trunk encapsulation dot1q
šswitchport trunk allowed vlan 2,3,5
šswitchport mode trunk
šswitchport nonegotiate
šchannel-protocol lacp
šchannel-group 48 mode active
!
interface Port-channel48
šdescription => Po48 (Gi1/1+Gi1/2)
šswitchport trunk encapsulation dot1q
šswitchport trunk allowed vlan 2,3,5
šswitchport mode trunk
šswitchport nonegotiate

7606#sh int gi1/1 capa
GigabitEthernet1/1
š Model: š š š š š š š š WS-SUP720-3BXL
š Type: š š š š š š š š š1000BaseSX
š Speed: š š š š š š š š 1000
š Duplex: š š š š š š š šfull
š Trunk encap. type: š š 802.1Q,ISL
š Trunk mode: š š š š š šon,off,desirable,nonegotiate
š Channel: š š š š š š š yes
š Broadcast suppression: percentage(0-100)
š Flowcontrol: š š š š š rx-(off,on,desired),tx-(off,on,desired)
š Membership: š š š š š šstatic
š Fast Start: š š š š š šyes
š QOS scheduling: š š š šrx-(1p1q4t), tx-(1p2q2t)
š CoS rewrite: š š š š š yes
š ToS rewrite: š š š š š yes
š Inline power: š š š š šno
š SPAN: š š š š š š š š šsource/destination
š UDLD š š š š š š š š š yes
š Link Debounce: š š š š yes
š Link Debounce Time: š šyes
š Ports on ASIC: š š š š 1-2
š Dot1ad Ethertype: š š šyes
š Dot1ad Tunnel: š š š š no
š Port-Security: š š š š yes
!
7606#sh int gi1/2 capa
GigabitEthernet1/2
š Model: š š š š š š š š WS-SUP720-3BXL
š Type: š š š š š š š š š1000BaseSX
š Speed: š š š š š š š š 1000
š Duplex: š š š š š š š šfull
š Trunk encap. type: š š 802.1Q,ISL
š Trunk mode: š š š š š šon,off,desirable,nonegotiate
š Channel: š š š š š š š yes
š Broadcast suppression: percentage(0-100)
š Flowcontrol: š š š š š rx-(off,on,desired),tx-(off,on,desired)
š Membership: š š š š š šstatic
š Fast Start: š š š š š šyes
š QOS scheduling: š š š šrx-(1p1q4t), tx-(1p2q2t)
š CoS rewrite: š š š š š yes
š ToS rewrite: š š š š š yes
š Inline power: š š š š šno
š SPAN: š š š š š š š š šsource/destination
š UDLD š š š š š š š š š yes
š Link Debounce: š š š š yes
š Link Debounce Time: š šyes
š Ports on ASIC: š š š š 1-2
š Dot1ad Ethertype: š š šyes
š Dot1ad Tunnel: š š š š no
š Port-Security: š š š š yes
!
7606#sh lacp 48 nei
Flags: šS - Device is requesting Slow LACPDUsš
š š š š F - Device is requesting Fast LACPDUs
š š š š A - Device is in Active mode š š š P - Device is in Passive mode š šš

Channel group 48 neighbors

Partner's information:

š š š š š Partner Partner š LACP Partner šPartner š Partner šPartner š š Partner
Port š š šFlags š State š š Port Priority Admin Key Oper Key Port Number Port State
Gi1/1 š š SA š š šbndl š š š32768 š š š š 0x0 š š š 0x30 š š 0x135 š š š 0x3D š
Gi1/2 š š SA š š šnot-bnd š 32768 š š š š 0x0 š š š 0x30 š š 0x21D š š š 0x5 šš
!
7606#sh int gi1/1
GigabitEthernet1/1 is up, line protocol is up (connected)
!
7606#sh int gi1/2
GigabitEthernet1/2 is up, line protocol is down (notconnect)
åÓÌÉ ×Ù×ÅÓÔÉ ÉÚ port-channel - ÐÏÒÔ ×ÓÔÁ£Ô É ÎÏÒÍÁÌØÎÏ ÒÁÂÏÔÁÅÔ.
!
3750#sh lacp 48 nei
Flags: šS - Device is requesting Slow LACPDUsš
š š š š F - Device is requesting Fast LACPDUs
š š š š A - Device is in Active mode š š š P - Device is in Passive mode š šš

Channel group 48 neighbors

Partner's information:

š š š š š š š š š LACP port š š š š š š š š š š š šAdmin šOper š Port š šPort
Port š š šFlags š Priority šDev ID š š š š šAge š škey š šKey š šNumber šState
Gi1/0/52 šSA š š š32768 š š 0019.07a8.2c40 š25s š š0x0 š š0x30 š 0x102 š 0x3D š
Gi2/0/28 šSA š š š32768 š š 0019.07a8.2c40 š 1s š š0x0 š š0x1030 0x103 š 0xD šš
!
3750#sh int gi1/0/52
GigabitEthernet1/0/52 is up, line protocol is up (connected)š
!
3750#sh int gi2/0/28
GigabitEthernet2/0/28 is up, line protocol is down (notconnect)š
åÓÌÉ ×Ù×ÅÓÔÉ ÉÚ port-channel - ÐÏÒÔ ×ÓÔÁ£Ô É ÎÏÒÍÁÌØÎÏ ÒÁÂÏÔÁÅÔ.


Debug ÎÁ 7606:
7606#sh deb
PAgP/LACP Shim/FEC:
š PAgP/LACP Shim All debugging is on
7606# [int Gi1/2 shut/no shut]
7606#sh log
Jul 20 22:47:45: FEC: lacp_switch_notify_mp_of_subchannel: subchannel idb of Po48Aš
š š š š š š š š š š š š(whose primary idb is Po48) was deleted
Jul 20 22:47:45: FEC: pagp_switch_inform_sp_agport_erase: Po48A erasing agport
Jul 20 22:47:45: FEC: pm_port_destroy:destroying pm_private for Po48A
Jul 20 22:47:45: FEC: pm_port_new: initialized pm_private for Po48B
Jul 20 22:47:45: FEC: lacp_switch_notify_mp_of_subchannel: subchannel idb of Po48Bš
š š š š š š š š š š š š(whose primary idb is Po48) was added
Jul 20 22:47:51: FEC: lacp_switch_notify_mp_of_subchannel: subchannel idb of Po48Bš
š š š š š š š š š š š š(whose primary idb is Po48) was deleted
Jul 20 22:47:51: FEC: pagp_switch_inform_sp_agport_erase: Po48B erasing agport
Jul 20 22:47:51: FEC: pm_port_destroy:destroying pm_private for Po48B
Jul 20 22:47:54: FEC: pagp_switch_stay_shutdown: port Gi1/2 agport Po48
Jul 20 22:47:55: FEC: pm_port_new: initialized pm_private for Po48A
Jul 20 22:47:55: FEC: lacp_switch_notify_mp_of_subchannel: subchannel idb of Po48Aš
š š š š š š š š š š š š(whose primary idb is Po48) was added
Jul 20 22:47:55: FEC: lacp_switch_notify_mp_of_subchannel: subchannel idb of Po48Aš
š š š š š š š š š š š š(whose primary idb is Po48) was deleted
Jul 20 22:47:55: FEC: pagp_switch_inform_sp_agport_erase: Po48A erasing agport
Jul 20 22:47:55: FEC: pm_port_destroy:destroying pm_private for Po48A
Jul 20 22:47:55: FEC: pm_port_new: initialized pm_private for Po48A
Jul 20 22:47:55: FEC: lacp_switch_notify_mp_of_subchannel: subchannel idb of Po48Aš
š š š š š š š š š š š š(whose primary idb is Po48) was added
Jul 20 22:47:55.354: %EC-SP-5-CANNOT_BUNDLE_LACP: Gi1/2 is not compatible with aggregators in channel 48 and cannot attach to them (trunk mode of Gi1/2 is trunk, Gi1/1 is dynamic)
Jul 20 22:48:05: FEC: lacp_switch_notify_mp_of_subchannel: subchannel idb of Po48Aš
š š š š š š š š š š š š(whose primary idb is Po48) was deleted
Jul 20 22:48:05: FEC: pagp_switch_inform_sp_agport_erase: Po48A erasing agport
Jul 20 22:48:05: FEC: pm_port_destroy:destroying pm_private for Po48A
Jul 20 22:48:05: FEC: pm_port_new: initialized pm_private for Po48B
Jul 20 22:48:05: FEC: lacp_switch_notify_mp_of_subchannel: subchannel idb of Po48Bš
š š š š š š š š š š š š(whose primary idb is Po48) was added
!
3750#sh debug
PAgP/LACP Shim/FEC:
š PAgP/LACP Shim All debugging is on
!
3750#sh log
001271: Jul 20 22:47:55: FEC: pagp_switch_stay_shutdown: port Gi2/0/28 agport Po48
001272: Jul 20 22:47:55: FEC: pagp_switch_stay_shutdown: port Gi2/0/28 agport Po48

çÄÅ-ÔÏ Ñ ÔÕÐÌÀ, ÎÏ ÇÄÅ?
ëÔÏ-ÔÏ Ó ÔÁËÉÍ ÓÔÁÌËÉ×ÁÌÓÑ?

éÚ ÐÏÉÓËÁ × ÉÎÅÔÅ ÎÁÛÌÏÓØ ÔÏÌØËÏšhttp://puck.nether.net/pipermail/cisco-nsp/2007-September/043765.html
îÏ ÜÔÏ ÎÅ ÓÏ×ÓÅÍ ÔÏ.š

--
Vladimir "vovin" Scherbinin.
http://about.me/vovin