port-stats-show

This command displays packet count statistics for switch data ports.

Syntax   port-stats-show

Specify any of the following options:

time date/time: yyyy-mm-ddThh:mm:ss

A time for the packet count statistics using the timestamp format YYYY-MM-DDTHH:MM:SS, where:

• YYYY specifies the 4 digit calendar year;

• MM specifies the 2 digit month of the year;

• DD specifies the 2 digit day of the month;

• HH specifies the 2 digit time of the day (24H notation);

• MM specifies the 2 digit minute of the hour;

SS specifies the 2 digit second of the minute

   start-time date/time: yyyy-mm-ddTHH:mm:ss 

A start time for the packet count statistics using the timestamp format YYYY-MM-DDTHH:MM:SS, where:

• YYYY specifies the 4 digit calendar year;

• MM specifies the 2 digit month of the year;

• DD specifies the 2 digit day of the month;

• HH specifies the 2 digit time of the day (24H notation);

• MM specifies the 2 digit minute of the hour;

• SS specifies the 2 digit second of the minute.

   end-time date/time: yyyy-mm-ddTHH:mm:ss 

An end time for the packet count statistics using the timestamp format YYYY-MM-DDTHH:MM:SS, where:

• YYYY specifies the 4 digit calendar year;

• MM specifies the 2 digit month of the year;

• DD specifies the 2 digit day of the month;

• HH specifies the 2 digit time of the day (24H notation);

• MM specifies the 2 digit minute of the hour;

• SS specifies the 2 digit second of the minute.

   duration duration: #d#h#m#s 

The duration in seconds.

interval duration: #d#h#m#s

The interval between statistics collection.

since-start

Specifies if the statistics are collected from the start of collecting statistics.

older-than duration: #d#h#m#s

Specifies if the statistics are older than the duration in days, hours, minutes, and seconds.

within-last duration: #d#h#m#s

Specifies if the statistics are within the duration in days, hours, minutes, and seconds.

port port-list

Specifies one or more switch network data port numbers. The port number must be in the range of 1 to 64. Multiple ports can be specified as a comma-separated list of numbers or a range (-).

     bezel-port bezel-port-string 

The bezel port.

   description description-string 

The port description.

counter counter-number

The counter number.

ibytes ibytes-number

The incoming number of bytes.

   obits obits-number 

The number of outgoing bits.

ibits ibits-number

The number of incoming bits.

iUpkts iUpkts-number

The number of incoming unicast packets.

iBpkts iBpkts-number

The number of incoming broadcast packets.

iMpkts iMpkts-number

The number of incoming multicast packets.

iPauseFs iPauseFs-number

The number of incoming pause frames.

iCongDrops iCongDrops-number

The number of incoming packets dropped due to congestion.

idiscards idiscards-number

The number of incoming packets discarded.

ierrs ierrs-number

The number of incoming errors.

obytes obytes-number

The number of outgoing bytes.

oUpkts oUpkts-number

The number of outgoing unicast packets.

oBpkts oBpkts-number

The number of outgoing broadcast packets.

oMpkts oMpkts-number

The number of outgoing multicast packets.

oPauseFs oPauseFs-number

The number of outgoing pause frames.

oCongDrops oCongDrops-number

DisplaysThe number of outgoing packets dropped due to congestion.

odiscards odiscards-number

The number of outgoing discarded packets.

oerrs oerrs-number

The number of outgoing errors.

mtu-errs mtu-errs-number

The number of MTU errors.

HER-pkts HER-pkts-number 

The number of Head End Replicated (HER) packets.

HER-bytes HER-bytes-number

The number of Head End Replicated (HER) bytes.

   HER-bits HER-bits-number  

The number of Head End Replicated (HER) bits.


Defaults   None.

Access   CLI

History   

Version 1.2

Command introduced.

Version 2.2.3

The parameter timestamp removed.

Version 2.4.1

The parameter mtu-errs added.

Version 2.6.0

The parameters HER-pkts, and HER-bytes added.

Version 7.0.0

The parameter bezel-port added.

Usage   Switches are equipped with network data ports for host or inter-switch communication. This command shows the status of a specific network data port or all network data ports on the local switch. To see the output in bits, use the option format all.

Examples  To display the packet count statistics for network data ports on the switch, use the following command:

CLI (network-admin@Spine-1) > port-stats-show

switch     time     port bezel-port description ibits iUpkts iBpkts iMpkts iCongDrops ierrs obits oUpkts oBpkts oMpkts oCongDrops oerrs mtu-errs 

---------- -------- ---- ---------- ----------- ----- ------ ------ ------ ---------- ----- ----- ------ ------ ------ ---------- ----- -------- 

switch     00:19:18 0    0                      1.46M 868    0      0      0          0     1.13M 1022   0      0      0          0     0        

switch     00:19:18 21   9                      214K  0      4      244    0          0     123K  0      0      72     0          0     0        

switch     00:19:18 25   10                     98.7K 0      0      66     0          0     207K  0      4      223    0          0     0        

switch     00:19:18 29   11                     100K  0      0      85     0          0     216K  0      4      242    0          0     0        

switch     00:19:18 33   12                     76.4K 0      0      38     0          0     233K  0      4      275    0          0     0        

switch     00:19:18 95   29                     116K  0      0      108    0          0     163K  0      0      168    0          0     0        

switch     00:19:18 96   30                     89.4K 0      0      64     0          0     82.1K 0      0      18     0          0     0        

switch     00:19:18 100  31                     95.3K 0      0      67     0          0     68.6K 0      0      15     0          0     0        

switch     00:19:18 101  32                     100K  0      4      63     0          0     69.8K 0      0      17     0          0     0

north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south