Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Nexus 7000 Show int Summary

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

  • LAN Switching and Routing
Everyone's tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
New Member

Nexus 7000 Show int Summary

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 :      ---------------------position the corresponding interface

8 REPLIES
Cisco Employee

Nexus 7000 Show int Summary

May be show interface counter is what you are looking for?

HTH,

jerry

New Member

Nexus 7000 Show int Summary

Nice try, but no cigar!

thks

Al

Cisco Employee

Nexus 7000 Show int Summary

Try

sh int counters  detailed all

New Member

Nexus 7000 Show int Summary

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

New Member

Nexus 7000 Show int Summary

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 :      ---------------------position the corresponding interface

New Member

Nexus 7000 Show int Summary

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

New Member

Nexus 7000 Show int Summary

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. :-)

New Member

Why not try this:------------

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?
 

1873
Views
5
Helpful
8
Replies
This widget could not be displayed.