LACP - 업 Sngl-port-Bndl Mstr 비-Bndl

LACP - 업 Sngl-port-Bndl Mstr 비-Bndl

두 개의 Cisco 스위치(ios 12.2(17r)S4를 실행하는 6509와 nx-os 5.2(1)N1(4)를 실행하는 5596) 사이에 포트 채널을 설정했습니다. 잘못된 패치와 손상된 케이블을 포함하여 여러 가지 문제가 발생했지만 현재 작업할 포트 채널에 두 개의 활성 링크가 있습니다. 문제는 해당 다리에 있는 사람들이 산발적으로 연결 문제를 겪고 있다는 것입니다.

iOS에서는 다음과 같은 이더넷 채널 상태가 표시됩니다. 이는 각 링크가 단일 채널로 작동하지 않고 대신 자체 독립 그룹에서 작동함을 의미합니다.

coresw02#show etherchannel 4 detail     
Group state = L2 
Ports: 3   Maxports = 16
Port-channels: 1 Max Port-channels = 16
Protocol:   LACP
Minimum Links: 0
        Ports in the group:
        -------------------
Port: Gi4/9
------------

Port state    = Up Sngl-port-Bndl Mstr Not-in-Bndl 
Channel group = 4           Mode = Active      Gcchange = -
Port-channel  = null        GC   =   -         Pseudo port-channel = Po4
Port index    = 0           Load = 0x00        Protocol =   LACP

Flags:  S - Device is sending Slow LACPDUs   F - Device is sending fast LACPDUs.
        A - Device is in active mode.        P - Device is in passive mode.

Local information:
                            LACP port     Admin     Oper    Port        Port
Port      Flags   State     Priority      Key       Key     Number      State
Gi4/9     SA      indep     32768         0x4       0x4     0x40A       0x7D  

Age of the port in the current state: 0d:06h:55m:38s

Port: Gi4/25
------------

Port state    = Down Not-in-Bndl 
Channel group = 4           Mode = Active      Gcchange = -
Port-channel  = null        GC   =   -         Pseudo port-channel = Po4
Port index    = 0           Load = 0x00        Protocol =   LACP

Flags:  S - Device is sending Slow LACPDUs   F - Device is sending fast LACPDUs.
        A - Device is in active mode.        P - Device is in passive mode.

Local information:
                            LACP port     Admin     Oper    Port        Port
Port      Flags   State     Priority      Key       Key     Number      State
Gi4/25    FA      down      32768         0x4       0x4     0x41A       0x47  

Age of the port in the current state: 0d:06h:29m:28s

Port: Gi4/27
------------

Port state    = Up Sngl-port-Bndl Mstr Not-in-Bndl 
Channel group = 4           Mode = Active      Gcchange = -
Port-channel  = null        GC   =   -         Pseudo port-channel = Po4
Port index    = 0           Load = 0x00        Protocol =   LACP

Flags:  S - Device is sending Slow LACPDUs   F - Device is sending fast LACPDUs.
        A - Device is in active mode.        P - Device is in passive mode.

Local information:
                            LACP port     Admin     Oper    Port        Port
Port      Flags   State     Priority      Key       Key     Number      State
Gi4/27    SA      indep     32768         0x4       0x4     0x41C       0x7D  

Age of the port in the current state: 0d:06h:44m:28s

        Port-channels in the group: 
        ----------------------

Port-channel: Po4    (Primary Aggregator)

------------

Age of the Port-channel   = 4d:03h:19m:57s
Logical slot/port   = 14/2          Number of ports = 0
HotStandBy port = null 
Port state          = Port-channel Ag-Not-Inuse 
Protocol            =   LACP
Fast-switchover     = disabled
Load share deferral = disabled   


Last applied Hash Distribution Algorithm:   -

또한 위의 출력에서는 링크가 작동 중이라고 표시하더라도 포트 채널 인터페이스의 상태를 확인하면 작동 중지된 것으로 표시됩니다.

coresw02#show interface port-channel 4
Port-channel4 is down, line protocol is down (notconnect)
  Hardware is EtherChannel, address is 0000.0000.0000 (bia 0000.0000.0000)
  Description: CHANNEL TO 10G
  MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, 
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Auto-duplex, Auto-speed, media type is unknown
  input flow-control is off, output flow-control is off
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output never, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     0 packets input, 0 bytes, 0 no buffer
     Received 0 broadcasts (0 multicasts)
     0 runts, 0 giants, 0 throttles 
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 0 multicast, 0 pause input
     0 input packets with dribble condition detected
     0 packets output, 0 bytes, 0 underruns
     0 output errors, 0 collisions, 1 interface resets
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier, 0 PAUSE output
     0 output buffer failures, 0 output buffers swapped out
coresw02#show etherchannel 4 detail   
Group state = L2 
Ports: 3   Maxports = 16
Port-channels: 1 Max Port-channels = 16
Protocol:   LACP
Minimum Links: 0

모든 링크가 끊어진 경우 이는 의미가 있지만 그 중 두 개는 양호하고 이 포트 채널을 통해 트래픽이 흐르고 있으므로 링크가 어떻게 다운되었다고 생각하는지 또는 연결의 원인이 무엇인지 알 수 없습니다. 문제.

관련 iOS 구성:

interface Port-channel4
 description CHANNEL TO 10G
 switchport
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 103,211,645,647
 switch   port mode trunk
!
interface GigabitEthernet4/9
 description UPLINK D22/5
 switchport
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 103,211,645,647
 switchport mode trunk
 channel-protocol lacp
 channel-group 4 mode active
!
qinterface GigabitEthernet4/25
 description UPLINK D22/15 (D22/13 dead)
 switchport
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 103,211,645,647
 switchport mode trunk
 channel-protocol lacp
 channel-group 4 mode active
!
interface GigabitEthernet4/27
 description UPLINK D22/14
 switchport
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 103,211,645,647
 switchport mode trunk
 channel-protocol lacp
 channel-group 4 mode active
!

nx-os 구성:

interface port-channel6
  description CORE-SWITCH-UPLINK
  switchport mode trunk
  switchport trunk allowed vlan 103,211,645,647
!
interface Ethernet4/13
  description CORE-SWITCH-UPLINK
  switchport mode trunk
  switchport trunk allowed vlan 103,211,645,647
  speed 1000
  channel-group 6

interface Ethernet4/14
  description CORE-SWITCH-UPLINK
  switchport mode trunk
  switchport trunk allowed vlan 103,211,645,647
  speed 1000
  channel-group 6
!
interface Ethernet4/15
  description CORE-SWITCH-UPLINK
  switchport mode trunk
  switchport trunk allowed vlan 103,211,645,647
  speed 1000
  channel-group 6
!
interface Ethernet4/16
  description CORE-SWITCH-UPLINK
  switchport mode trunk
  switchport trunk allowed vlan 103,211,645,647
  speed 1000
  channel-group 6

지금까지보다 더 많은 인터페이스가 구성되어 있는 것을 볼 수 있습니다. 이는 앞서 언급한 문제 때문입니다. 한 케이블은 손상된 트래픽을 유발하여 구성한 후 케이블을 뽑았고, 다른 케이블은 패치가 중단된 이후 iOS 측에서 구성되지 않았습니다.

추가 디버깅을 하면서 계속 업데이트하겠습니다.

답변1

Sngl-port-Bndl Mstr Not-in-Bndl이는 각 개별 링크가 자체 개별 연결을 설정한 포트 채널이 잘못 구성되었음을 나타 냅니다 . 이 정확한 시나리오의 경우 nx-os 5.2(1)N1(4)을 실행하는 5596은 LACP를 수행하도록 구성되지 않았습니다. 기본적으로 nx-os는 프로토콜을 설정하지 않는 것 같습니다. lacp를 사용하도록 5596을 재구성하여 이 문제를 해결했습니다.

관련 정보