11-21-2011 03:56 AM - edited 03-07-2019 03:30 AM
Can anyone tell me if there is an equivalent command to Show int Summary on the Nexus 7000 ?
eg
MYCISCOSW01#show int summary
*: interface is up
IHQ: pkts in input hold queue IQD: pkts dropped from input queue
OHQ: pkts in output hold queue OQD: pkts dropped from output queue
RXBS: rx rate (bits/sec) RXPS: rx rate (pkts/sec)
TXBS: tx rate (bits/sec) TXPS: tx rate (pkts/sec)
TRTL: throttle count
Interface IHQ IQD OHQ OQD RXBS RXPS TXBS TXPS TRTL
-------------------------------------------------------------------------
TenGigabitEthernet2/1 0 0 0 0 0 0 0 0 0
TenGigabitEthernet2/2 0 0 0 0 0 0 0 0 0
I find it a useful command on the 6500 to spot high traffic flows.
thks
Al
Solved! Go to Solution.
11-29-2011 07:41 PM
I use two comand line to achieve the similar resulte as "show int summary" although it is not so convenient. hope it is helpful for you.
show int | grep line-number rate | ex output | sort -k 6nr | head lines 10 -------sort by rate in descending order
show int | grep line-number . | grep prev 10
11-21-2011 07:13 PM
May be show interface counter is what you are looking for?
HTH,
jerry
11-22-2011 12:42 AM
Nice try, but no cigar!
thks
Al
11-24-2011 05:51 AM
Try
sh int counters detailed all
11-25-2011 01:25 AM
The show int counters detailed all, provides a lot of information but doesn't give a rate value but totals
eg
Ethernet2/3
64 bit counters:
0. rxHCTotalPkts = 6290499
1. txHCTotalPks = 32174650
2. rxHCUnicastPkts = 6176161
3. txHCUnicastPkts = 7545788
4. rxHCMulticastPkts = 48510
I have tried using regex with some success but it isn't the same as a formatted table like int summary.
show int | in ^Ethernet|^Vlan|^port-channel|rate | ex seconds
Ethernet8/46 is down (SFP not inserted)
input rate 144 bps, 0 pps; output rate 144 bps, 0 pps
Ethernet8/47 is up
input rate 1.28 Mbps, 1.56 Kpps; output rate 1.42 Mbps, 1.28 Kpps
port-channel10 is up
input rate 46.12 Mbps, 10.82 Kpps; output rate 35.36 Mbps, 8.28 Kpps
Vlan402 is up, line protocol is up
input rate 14.65 Mbps, 1.92 Kpps; output rate 1.12 Mbps, 660 pps
Someone may be able to suggest a better expression and it would be nice to some how sort so that the higher flows are at the top or filter by Gbps or values greater than a speeds such as >5 Gbps.
Any suggestions welcome.
thks
Al
11-29-2011 07:41 PM
I use two comand line to achieve the similar resulte as "show int summary" although it is not so convenient. hope it is helpful for you.
show int | grep line-number rate | ex output | sort -k 6nr | head lines 10 -------sort by rate in descending order
show int | grep line-number . | grep prev 10
12-01-2011 05:12 AM
Grissonwang,
I like the first one which orders the traffic;
show int | grep line-number rate | ex output | sort -k 6nr | head lines 10
7529: 30 seconds input rate 1158802104 bits/sec, 102381 packets/sec
3221: 30 seconds input rate 586435664 bits/sec, 50160 packets/sec
However the second comand doesn't work because the number of lines between the input rate and interface line varies between different types of ports so for a port-channel it could be 14 lines while Ethernet 17 lines and so you only get the bottom part of the interface output using only 10.
Since it's the best answer so far I've marked it as the correct answer. I hope in a future release we may get this summary command back.
thks
Al
12-01-2011 06:31 AM
Hi Alanjbrown
Actually I got inspired from your command "show int | in ^Ethernet|^Vlan|^port-channel|rate | ex seconds" .
I don't understand why cisco will take "show int summary" away in Nexus. it is quite useful command for troubleshoot and I use that quite offen.
I just used show int vlan 1-300 | grep line-number rate | ex output | sort -k 6nr | head lines 10 for test because too many interfaces on my N7K which take me so long to get the result of test each time. so I forgot to notice the difference of number of lins between different interface type. I think we can choose the maximum number of lines (17) as line-number to work around this issue. what do you think? Anyway, thanks for your reminder. I also learn something from your case.
Hope we can get this summary command back. :-)
02-19-2018 06:52 AM
19 instead of 10 will give you the interface name
11-07-2014 02:45 AM
Why not try this:
----------------------------------------------------------------------------------------------------------
sh interface | i rate|Eth | exclude Hardware | exclude EtherType | exclude 30
Ethernet1/3 is up
input rate 362.66 Kbps, 211 pps; output rate 9.83 Mbps, 919 pps
Ethernet1/4 is up
input rate 377.21 Kbps, 131 pps; output rate 544.19 Kbps, 126 pps
Ethernet1/5 is up
input rate 856.35 Kbps, 325 pps; output rate 1.55 Mbps, 281 pps
Ethernet1/6 is up
input rate 836.18 Kbps, 351 pps; output rate 10.20 Mbps, 993 pps
-----------------------------------------------------------------------------
The output is not exactly as informative as the sh int summ but what can you do?
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