cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1039
Views
0
Helpful
4
Replies

N7K - frame size show command

Hi,

on a Cisco Nexus 6k you can have a perfect look at the Frame sizes crossing your Interface

sh hardware internal bigsur port ethernet 1/1

MAC statistics:
MAC Statistic                  | Value
-------------------------------+-----------------------------------
TX_PKT_SIZE_LT_64              | 0
TX_PKT_SIZE_IS_64              | 6607344
TX_PKT_SIZE_IS_65_TO_127       | 72920088
TX_PKT_SIZE_IS_128_TO_255      | 2341094
TX_PKT_SIZE_IS_256_TO_511      | 1508120
TX_PKT_SIZE_IS_512_TO_1023     | 19494
TX_PKT_SIZE_IS_1024_TO_1518    | 3639395
TX_PKT_SIZE_IS_1519_TO_2047    | 0

[..snip...]

Does anybody happen to know a similar command on the N7K ? I can't find anything sufficient :(

thx

1 Accepted Solution

Accepted Solutions

We don't have an exact equivalent command for 7k.

This is something we use(not on a regular basis) to check the packets hitting the asic

Tested for F3 module

Att mod 1

module-1# sh hard intern statistics device mac all port 17  ( 17 is the front panel port)
|------------------------------------------------------------------------|
| Device:Flanker Eth Mac Driver   Role:MAC                     Mod: 1    |
| Last cleared @ Fri Jan 29 03:33:07 2016
| Device Statistics Category :: ALL
|------------------------------------------------------------------------|
Instance:2
Cntr  Name                                          Value             Ports
----- ----                                          -----             -----
    4 igr in upm :  received bytes cnt              0000366343705031  17 -
   16 egr out upm : transmitted bytes cnt           0000001447333726  17 -
  400 igr in upm: total pkts rcvd                   0000000453959483  17 -
  401 igr in upm: total 64-byte pkts rcvd           0000000000004907  17 -
  402 igr in upm: pkts rcvd, len(> 64B, <= 127B)    0000000014976353  17 -
  403 igr in upm: pkts rcvd, len(> 127B, <= 255B)   0000000039953289  17 -
  404 igr in upm: pkts rcvd, len(> 255B, <= 511B)   0000000079892281  17 -
  405 igr in upm: pkts rcvd, len(> 511B, <= 1023B)  0000000159689978  17 -
  406 igr in upm: pkts rcvd, len(> 1023B, <= 1518B) 0000000154452499  17 -
  407 igr in upm: pkts rcvd, len(> 1518B, <= 1522B) 0000000001246846  17 -
  408 igr in upm: pkts rcvd, len(> 1522B, <= 1548B) 0000000003743330  17 -
  425 igr in upm: pkts rcvd, RALIGN with good crc   0000000448969307  17 -
  430 igr in upm: Remote link faults rcvd           0000000547357955  17 -
  656 egr out upm: total pkts with good CRC         0000000007259086  17 -
  658 egr out upm: pkts xmtd, len (> 64B, <= 127B)  0000000007138214  17 -
  659 egr out upm: pkts xmtd, len(> 127B, <= 255B)  0000000000020751  17 -
  660 egr out upm: pkts xmtd, len(> 255B, <= 511B)  0000000000032542  17 -
  661 egr out upm: pkts xmtd, len(> 511B, <= 1023B) 0000000000001633  17 -
  662 egr out upm: pkts xmtd, len(> 1023B, <= 1518B) 0000000000000558  17 -
  667 egr out upm: pkts xmtd, len(> 2500B, <= MTU)  0000000000065388  17 -
  668 egr out upm: pkts xmtd, len(> cfg0, <= MTU) with good CRC 0000000000065388  17 -

You can clear the statistics using -

att mod 1

clear statistics device all

-Raj

View solution in original post

4 Replies 4

Rajeshkumar Gatti
Cisco Employee
Cisco Employee

Have you tried this?

Nexus7000-1# sh int e1/2 counters detailed  all | in bytes
  25.                          tx bytes: = 806699
  47.     Rx Packets from 0 to 64 bytes: = 0
  48.   Rx Packets from 65 to 127 bytes: = 0
  49.  Rx Packets from 128 to 255 bytes: = 0
  50.  Rx Packets from 256 to 511 bytes: = 3079
  51. Rx Packets from 512 to 1023 bytes: = 0
  52. Rx Packets from 1024 to 1518 bytes: = 0
  53. Rx Packets from 1519 to 1548 bytes: = 0
  55.     Tx Packets from 0 to 64 bytes: = 0
  56.   Tx Packets from 65 to 127 bytes: = 0
  57.  Tx Packets from 128 to 255 bytes: = 0
  58.  Tx Packets from 256 to 511 bytes: = 3079
  59. Tx Packets from 512 to 1023 bytes: = 0
  60. Tx Packets from 1024 to 1518 bytes: = 0
  61. Tx Packets from 1519 to 1548 bytes: = 0

-Raj

Hej Raj,

thanks for your comment. I already tried this command.

I fear my question was not specific enough: I am espacially looking for packets >1548 Byte, Jumbos.

the Problem is, that N7K won't Show me that :(

We don't have an exact equivalent command for 7k.

This is something we use(not on a regular basis) to check the packets hitting the asic

Tested for F3 module

Att mod 1

module-1# sh hard intern statistics device mac all port 17  ( 17 is the front panel port)
|------------------------------------------------------------------------|
| Device:Flanker Eth Mac Driver   Role:MAC                     Mod: 1    |
| Last cleared @ Fri Jan 29 03:33:07 2016
| Device Statistics Category :: ALL
|------------------------------------------------------------------------|
Instance:2
Cntr  Name                                          Value             Ports
----- ----                                          -----             -----
    4 igr in upm :  received bytes cnt              0000366343705031  17 -
   16 egr out upm : transmitted bytes cnt           0000001447333726  17 -
  400 igr in upm: total pkts rcvd                   0000000453959483  17 -
  401 igr in upm: total 64-byte pkts rcvd           0000000000004907  17 -
  402 igr in upm: pkts rcvd, len(> 64B, <= 127B)    0000000014976353  17 -
  403 igr in upm: pkts rcvd, len(> 127B, <= 255B)   0000000039953289  17 -
  404 igr in upm: pkts rcvd, len(> 255B, <= 511B)   0000000079892281  17 -
  405 igr in upm: pkts rcvd, len(> 511B, <= 1023B)  0000000159689978  17 -
  406 igr in upm: pkts rcvd, len(> 1023B, <= 1518B) 0000000154452499  17 -
  407 igr in upm: pkts rcvd, len(> 1518B, <= 1522B) 0000000001246846  17 -
  408 igr in upm: pkts rcvd, len(> 1522B, <= 1548B) 0000000003743330  17 -
  425 igr in upm: pkts rcvd, RALIGN with good crc   0000000448969307  17 -
  430 igr in upm: Remote link faults rcvd           0000000547357955  17 -
  656 egr out upm: total pkts with good CRC         0000000007259086  17 -
  658 egr out upm: pkts xmtd, len (> 64B, <= 127B)  0000000007138214  17 -
  659 egr out upm: pkts xmtd, len(> 127B, <= 255B)  0000000000020751  17 -
  660 egr out upm: pkts xmtd, len(> 255B, <= 511B)  0000000000032542  17 -
  661 egr out upm: pkts xmtd, len(> 511B, <= 1023B) 0000000000001633  17 -
  662 egr out upm: pkts xmtd, len(> 1023B, <= 1518B) 0000000000000558  17 -
  667 egr out upm: pkts xmtd, len(> 2500B, <= MTU)  0000000000065388  17 -
  668 egr out upm: pkts xmtd, len(> cfg0, <= MTU) with good CRC 0000000000065388  17 -

You can clear the statistics using -

att mod 1

clear statistics device all

-Raj

thanks Raj, I guess that's the best I can get out of the Show commands