10-17-2012 09:48 AM - edited 03-07-2019 09:31 AM
We have a stack of 3750 switches in a stack.
I am trying to understand the command show platform pm if-numbers
When do the command I get the follwing - I only grabbed two ports the rest are not shown
interface gid gpn lpn port slot unit slun port-type lpn-idb gpn-idb
Fa1/0/9 11 11 9 1/10 1 9 11 local Yes Yes
Fa2/0/9 65 65 9 1/10 2 9 11 remote No Yes
My question is if I understand what I read these ports are on asic 1 port 10.
Now I do the command
sh platform port-asic stats drop port 10 asic 1
I get the following output
Port-asic Port Drop Statistics - Summary
========================================
RxQueue 0 Drop Stats: 0
RxQueue 1 Drop Stats: 0
RxQueue 2 Drop Stats: 0
RxQueue 3 Drop Stats: 0
Port 0 TxQueue Drop Stats: 0
Port 1 TxQueue Drop Stats: 0
Port 2 TxQueue Drop Stats: 0
Port 3 TxQueue Drop Stats: 0
Port 4 TxQueue Drop Stats: 6429
Port 5 TxQueue Drop Stats: 326
Port 6 TxQueue Drop Stats: 6395
Port 7 TxQueue Drop Stats: 11
Port 8 TxQueue Drop Stats: 28501
Port 9 TxQueue Drop Stats: 7381
Port 10 TxQueue Drop Stats: 1991
Port 11 TxQueue Drop Stats: 575614
Port 12 TxQueue Drop Stats: 1479
Port 13 TxQueue Drop Stats: 32635
Port 14 TxQueue Drop Stats: 0
Port 15 TxQueue Drop Stats: 0
Port 16 TxQueue Drop Stats: 1173
Port 17 TxQueue Drop Stats: 1845
Port 18 TxQueue Drop Stats: 11
Port 19 TxQueue Drop Stats: 0
Port 20 TxQueue Drop Stats: 23726
Port 21 TxQueue Drop Stats: 13483
Port 22 TxQueue Drop Stats: 16511
Port 23 TxQueue Drop Stats: 2936
Port 24 TxQueue Drop Stats: 5514
Port 25 TxQueue Drop Stats: 2772
Supervisor TxQueue Drop Statistics
Queue 0: 0
Queue 1: 0
Queue 2: 0
Queue 3: 0
Queue 4: 0
Queue 5: 0
Queue 6: 0
Queue 7: 0
Queue 8: 0
Queue 9: 0
Queue 10: 0
Queue 11: 0
Queue 12: 0
Queue 13: 0
Queue 14: 0
Queue 15: 0
Port-asic Port Drop Statistics - Details
========================================
RxQueue Drop Statistics
Queue 0
Weight 0 Frames: 0
Weight 1 Frames: 0
Weight 2 Frames: 0
Queue 1
Weight 0 Frames: 0
Weight 1 Frames: 0
Weight 2 Frames: 0
Queue 2
Weight 0 Frames: 0
Weight 1 Frames: 0
Weight 2 Frames: 0
Queue 3
Weight 0 Frames: 0
Weight 1 Frames: 0
Weight 2 Frames: 0
Port 10 TxQueue Drop Statistics
Queue 0
Weight 0 Frames 0
Weight 1 Frames 0
Weight 2 Frames 0
Queue 1
Weight 0 Frames 1
Weight 1 Frames 0
Weight 2 Frames 0
Queue 2
Weight 0 Frames 0
Weight 1 Frames 0
Weight 2 Frames 1990
Queue 3
Weight 0 Frames 0
Weight 1 Frames 0
Weight 2 Frames 0
Supervisor TxQueue Drop Statistics
Queue 0: 0
Queue 1: 0
Queue 2: 0
Queue 3: 0
Queue 4: 0
Queue 5: 0
Queue 6: 0
Queue 7: 0
Queue 8: 0
Queue 9: 0
Queue 10: 0
Queue 11: 0
Queue 12: 0
Queue 13: 0
Queue 14: 0
Queue 15: 0
My assumption is I am looking at the ASIC on switch 1. How do I look at the drops on switch 2?
Thanks
10-17-2012 03:01 PM
Hello Dave ,
you can try
show platform port-asic stats drop fastEthernet 2/0/10
or sh platform port-asic stats drop port 10 hopefully it will give you infromation for both Switches.
thanks
11-26-2012 09:05 PM
I believe that the output from "show platform pm if-numbers" aggregates output from each switch, but some other "show platform" commands must be run directly on the switch in question. Note that each switch in the stack still has it's own ASICs/ports (and the numbers are identical/reused). So in your output above your port Fa1/0/9 is on ASIC 1 of switch1, and your port Fa2/0/9 is on ASIC 1 of switch 2.
So if you want to see portspecific info for FA1/0/9, your command would work:
SWITCH# sh platform port-asic stats drop port 10 asic 1
Then to see the counters for Fa2/0/9, which is on switch 2, try this:
SWITCH# session 2
SWITCH-2# sh platform port-asic stats drop port 10 asic 1
Or this should work as well:
SWITCH# remote command 2 sh platform port-asic stats drop port 10 asic 1
I don't pretend to be a hardware guru, so take with a grain of salt!
cheers
mark
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide