this is a bit of a repeat from an earlier post, but it bears repeating... so i'm gonna repeat... and i don't care if you care... so there...
if you make a change to the hardware interfaces that are members of a portchannel they will fall out, or rather, get suspended...
it is too bad that the show interfaces command on a physical interface does not mention which portchannel they are members of... the show interfaces command on a port channel, however does show the member interfaces...
DLS2#sh int f0/2
FastEthernet0/2 is up, line protocol is up (connected)
Hardware is Fast Ethernet, address is 0016.479e.5f84 (bia 0016.479e.5f84)
Description: Channel to ALS1
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)
Full-duplex, 100Mb/s, media type is 10/100BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:43, output 00:00:04, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/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
4685 packets input, 563671 bytes, 0 no buffer
Received 2721 broadcasts (2465 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 2465 multicast, 0 pause input
0 input packets with dribble condition detected
17440 packets output, 1375217 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
see it anywhere? no... good...
DLS2#sh int po10
Port-channel10 is up, line protocol is up (connected)
Hardware is EtherChannel, address is 0016.479e.5f85 (bia 0016.479e.5f85)
Description: Channel to DLS1
MTU 1500 bytes, BW 200000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, link type is auto, media type is unknown
input flow-control is off, output flow-control is unsupported
Members in this channel: Fa0/3 Fa0/4
ARP type: ARPA, ARP Timeout 04:00:00
can't have everything... sh int trunk and etherchann summ is your antidote...
you love them...
DLS2#sh int trunk
Port Mode Encapsulation Status Native vlan
Po2 on 802.1q trunking 900
Po10 on 802.1q trunking 900
Port Vlans allowed on trunk
Po2 10,20,30,100
Po10 10,20,30,50,100,200
Port Vlans allowed and active in management domain
Po2 10,20,30,100
Po10 10,20,30,50,100,200
Port Vlans in spanning tree forwarding state and not pruned
Po2 10,20,30,100
Po10 10,20,30,50,100,200
DLS2#sh etherch summ
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
------+-------------+-----------+-----------------------------------------------
2 Po2(SU) - Fa0/1(P) Fa0/2(P)
10 Po10(SU) - Fa0/3(P) Fa0/4(P)
some bozack issued the command:
DLS2(config)#int rang f0/3 - 4
DLS2(config-if-range)#no sw noneg
DLS2(config-if-range)#end
DLS2#sh int trunk
Port Mode Encapsulation Status Native vlan
Po2 on 802.1q trunking 900
Port Vlans allowed on trunk
Po2 10,20,30,100
Port Vlans allowed and active in management domain
Po2 10,20,30,100
Port Vlans in spanning tree forwarding state and not pruned
Po2 10,20,30,100
that didn't sit too well with po10, so it bounced them...
DLS2#sh etherch summ
Number of channel-groups in use: 2
Number of aggregators: 2
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
2 Po2(SU) - Fa0/1(P) Fa0/2(P)
10 Po10(SD) - Fa0/3(s) Fa0/4(s)
he wasn't finished...
DLS2#sh int f0/3 sw
Name: Fa0/3
Switchport: Enabled
Administrative Mode: dynamic auto
Operational Mode: down (suspended member of bundle Po10)
Administrative Trunking Encapsulation: negotiate
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 999 (UNUSED)
Administrative Native VLAN tagging: enabled
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk associations: none
Administrative private-vlan trunk mappings: none
Operational private-vlan: none
Trunking VLANs Enabled: 10,20,30,50,100,200
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
the quick fix is to set everything good on the portchannel... that will insure uniformity across the interfaces...
DLS2(config)#int po10
DLS2(config-if)#sw trunk encap dot1q
DLS2(config-if)#sw mode trunk
DLS2(config-if)#sw trunk native vlan 900
DLS2(config-if)#sw noneg
DLS2(config-if)#end
DLS2#sh etherch summ
Number of channel-groups in use: 2
Number of aggregators: 2
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
2 Po2(SU) - Fa0/1(P) Fa0/2(P)
10 Po10(SU) - Fa0/3(P) Fa0/4(P)
you can use the interface range command with portchannels too...
No comments:
Post a Comment