Monday, May 18, 2020

Port/Ether Channel in IOS XE

Hi all, been working on this for a day and not sure where I'm going wrong.

I have 2 switch stacks comprised of 2 C3850 switches each. I want to build a port-channel between the two, using a single 10Gbps interface on each switch. To configure this, I issue the following:

Stack 1

interface port-channel 1 switchport trunk native vlan 100 switchport trunk allowed vlan 100,103,140-142,150 switchport mode trunk interface tengigabitethernet 1/1/1 switchport trunk native vlan 100 switchport trunk allowed vlan 100,103,140-142,150 switchport mode trunk channel-group 1 mode active interface tengigabitethernet 2/1/1 switchport trunk native vlan 100 switchport trunk allowed vlan 100,103,140-142,150 switchport mode trunk channel-group 1 mode active 

Stack 2

interface port-channel 1 switchport trunk native vlan 100 switchport trunk allowed vlan 100,103,140-142,150 switchport mode trunk interface tengigabitethernet 1/1/1 switchport trunk native vlan 100 switchport trunk allowed vlan 100,103,140-142,150 switchport mode trunk channel-group 1 mode active interface tengigabitethernet 2/1/1 switchport trunk native vlan 100 switchport trunk allowed vlan 100,103,140-142,150 switchport mode trunk channel-group1 mode active 

The link comes up, but only on interface tengigabitethernet 1/1/1 on each switch.

I issue the following commands with the following results:

show interface port-channel 1 Port-channel1 is up, line protocol is up (connected) Hardware is EtherChannel, address is XXXXXXXXXXXX Description: Uplink to MDF Switch Port-Channel MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) Full-duplex, 10Gb/s, link type is auto, media type is N/A input flow-control is on, output flow-control is unsupported Members in this channel: Te1/1/1 ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:00:01, output 00:00:00, 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 30537000 bits/sec, 2892 packets/sec 5 minute output rate 2501000 bits/sec, 1612 packets/sec 453062012 packets input, 614047590188 bytes, 0 no buffer Received 1514778 broadcasts (1299317 multicasts) 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 watchdog, 1299317 multicast, 0 pause input 0 input packets with dribble condition detected 238858799 packets output, 44184312356 bytes, 0 underruns 0 output errors, 0 collisions, 1 interface resets 0 unknown protocol drops 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 show ethernetchannel detail Channel-group listing: ---------------------- Group: 1 ---------- Group state = L2 Ports: 2 Maxports = 16 Port-channels: 1 Max Port-channels = 16 Protocol: LACP Minimum Links: 0 Ports in the group: ------------------- Port: Te1/1/1 ------------ Port state = Up Mstr Assoc In-Bndl Channel group = 1 Mode = Active Gcchange = - Port-channel = Po1 GC = - Pseudo port-channel = Po1 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 Te1/1/1 SA bndl 32768 0x1 0x1 0x136 0x3D Partner's information: LACP port Admin Oper Port Port Port Flags Priority Dev ID Age key Key Number State Te1/1/1 SA 32768 c4b9.cd05.8200 21s 0x0 0x1 0x136 0x3D Age of the port in the current state: 1d:21h:43m:14s Port: Te2/1/1 ------------ Port state = Down Not-in-Bndl Channel group = 1 Mode = Active Gcchange = - Port-channel = null GC = - Pseudo port-channel = Po1 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 Te2/1/1 SA down 32768 0x1 0x0 0x236 0x4D Age of the port in the current state: 1d:21h:57m:01s Port-channels in the group: --------------------------- Port-channel: Po1 (Primary Aggregator) ------------ Age of the Port-channel = 1d:22h:02m:54s Logical slot/port = 12/1 Number of ports = 1 HotStandBy port = null Port state = Port-channel Ag-Inuse Protocol = LACP Port security = Disabled Ports in the Port-channel: Index Load Port EC state No of bits ------+------+------+------------------+----------- 0 00 Te1/1/1 Active 0 Time since last port bundled: 1d:21h:43m:14s Te1/1/1 

So it's only using port Te1/1/1, instead of using both ports for 20Gbps total hypothetical bandwidth. Te2/1/1 on both sides show down (notconnect) and ports aren't lighting... but they are both connected. On port state in the etherchannel config port state is "Down Not-in-Bndl."

Is there something I need to do to the port-channel to config to tell it I want both ports to be active, or is this a media problem and the link between the Te2/1/1 ports is actually not good?

Thanks for the help, as always!



No comments:

Post a Comment