cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1543
Views
0
Helpful
3
Replies

show port-channel traffic by vlan - Cisco 6509

Little Bunny
Level 1
Level 1

Hello

I have a port-channel allowing multiple vlans as follows:

interface Port-channel5
description F5-LBPGANGU01
switchport
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 454,828,1960-1963,2510,2512,2531,2545,2546,2648
switchport mode trunk
mtu 9216
mls qos trust dsc

I would like to know whether there is any traffic in vlan 2545 going over this port-channel. I can see that there is traffic on the vlan:

ANGUHUB22#sh int vlan 2545
Vlan2545 is up, line protocol is up
Hardware is EtherSVI, address is 0064.403b.f300 (bia 0064.403b.f300)
Description: GRID03-ENTS-DEVLF5LB01=ENTS-DEVLLBF5
Internet address is 10.19.215.253/25
MTU 8500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive not supported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:02, output 00:00:01, 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 45000 bits/sec, 30 packets/sec
5 minute output rate 57000 bits/sec, 40 packets/sec
L2 Switched: ucast: 14968111 pkt, 1572433429 bytes - mcast: 1814188 pkt, 174456426 bytes
L3 in Switched: ucast: 77744561 pkt, 27682977938 bytes - mcast: 0 pkt, 0 bytes mcast
L3 out Switched: ucast: 87587090 pkt, 21001499592 bytes mcast: 0 pkt, 0 bytes
87752612 packets input, 28442744549 bytes, 0 no buffer
Received 1814199 broadcasts (0 IP multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
98286368 packets output, 21735301189 bytes, 0 underruns
0 output errors, 0 interface resets
0 output buffer failures, 0 output buffers swapped out

However since the vlan is also tagged on another port-channel I can't tell whether the above traffic is on Po5 and/or Po26:

ANGUHUB22#sh vlan id 2545

VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
2545 GRID03-ENTS-DEVLF5LB01=ENTS-DEVL active Po5, Po26

Is there are way to see whether vlan 2545 is being used on Po5?

Thanks

Amy

3 Replies 3

Jon Marshall
Hall of Fame
Hall of Fame

Amy

I don't think there is an etherchannel command to show that.

You could of course just look at the mac address table and see if any mac addresses in that vlan have been learned on po5 but that is obviously not real time and it also depends on what your mac address aging time is.

Jon

Ok, thank you Jon. That's a shame, I think it would be a useful ability

Check spanning tree state along the path and interface state - if both sides are in forwarding state for vlan 2545 - traffic is taking that path.

sh spanning int po5

Additionally, you ping from some downstream device in VLAN 2545 some address on far side of Po5 and check mac addresses along the path to destination. It will, of course follow loop free topology that was built by STP.

Review Cisco Networking for a $25 gift card