Displaying Port Statistics


The port statistics information is useful for understanding the data traffic on switch ports. Port statistics information includes the number of incoming and outgoing packets (classified as unicast, multicast, and broadcast), bytes dropped, bytes discarded, Head-End-Replicated (HER) packets, and errors. Use the port-stats-show command to display the port statistics for all active ports on a switch:


CLI (network-admin@switch) > port-stats-show

port-stats-show

Displays port statistics.

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

Specify a time for the packet count statistics using the timestamp format yyyy-mm-ddThh:mm:ss.


start-time start-time

Specify a start time for the packet count statistics using the timestamp format yyyy-mm-ddThh:mm:ss.

end-time end-time

Specify an end time for the packet count statistics using the timestamp format YYYY-MM-DDTHH:MM:SS

duration duration

Specify the duration in seconds.

interval duration: #d#h#m#s

Specify the interval between statistics collection.

since-start|no-since-start

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

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

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

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

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

port port-list

Specify one or more switch network data port numbers. Multiple ports can be specified as a comma-separated list of numbers or a range (-).

bezel-port bezel-port-string

Specify the bezel ports.

description description

Displays the port description.

counter counter-number

Displays the counter number.

ibytes ibytes-number

Displays the incoming number of bytes.

ibits ibits-number

Displays the number of incoming  bits.

iUpkts iUpkts-number

Displays the number of incoming unicast packets.

iBpkts iBpkts-number

Displays the number of incoming broadcast packets.

iMpkts iMpkts-number

Displays the number of incoming multicast packets.

iPauseFs iPauseFs-number

Displays the number of incoming pause frames.

iCongDrops iCongDrops-number

Displays the number of incoming packets dropped due to congestion.

idiscards idiscards-number

Displays the number of incoming packets discarded.

ierrs ierrs-number

Displays the number of incoming packets with errors.

obytes obytes-number

Displays the number of outgoing bytes.

oUpkts oUpkts-number

Displays the number of outgoing unicast packets.

oBpkts oBpkts-number

Displays the number of outgoing broadcast packets.

oMpkts oMpkts-number

Displays the number of outgoing multicast packets.

oPauseFs oPauseFs-number

Displays the number of outgoing pause frames.

oCongDrops oCongDrops-number

Displays the number of outgoing packets dropped due to congestion.

odiscards odiscards-number

Displays the number of outgoing discarded packets.

oerrs oerrs-number

Displays the number of outgoing packets with errors.

mtu-errs mtu-errs-number

Displays the number of MTU errors.

HER-packets HER-pts-number 

Displays the number of Head End Replicated (HER) packets.

HER-bytes HER-bytes-number

Displays the number of Head End Replicated (HER) bytes.

HER-bits HER-bits-number

Displays the number of Head End Replicated (HER) bits.


CLI (network-admin@switch) > port-stats-show port 1 format all layout vertical

time:        22:45:12

port:        1

bezel-port:  1

description: 

counter:     0

ibytes:      170K

ibits:       1.39M

iUpkts:      165

iBpkts:      22

iMpkts:      402

iPauseFs:    0

iCongDrops:  0

idiscards:   2

ierrs:       46

obytes:      144K

obits:       1.18M

oUpkts:      158

oBpkts:      4

oMpkts:      249

oPauseFs:    0

oCongDrops:  0

odiscards:   48

oerrs:       0

mtu-errs:    0

HER-pkts:    0

HER-bytes:   0

HER-bits:    0


north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south