port-stats-snmp-show

This command displays SNMP statistics for switch data ports.

Syntax   port-stats-show

Specify any of the following options:

port port-list

Displays 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 (-).

port-clear-count port-clear-count-number 

Displays the number of times port-stats-clear or trunk-stats-clear commands were issued on a portor trunk.

port_clear_time high resolution time: #ns

Displays the last high resolution time-stamp (in ns) of the last port-stats-clear command.

port-clear-time duration: #d#h#m#s

Displays the last port stats clear time. It is initialized with time atnvOS_init by default.

all-ports

A flag to specify if you want to view the stats of all ports on the switch. The default view contains only enabled ports.

counter counter-number

Displays the counter number.

ibytes ibytes-number

Displays the incoming number of bytes.

ibits ibits-number

Displays the number of 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 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

DisplaysDisplays 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 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.

Defaults   None.

Access   CLI

History   Command introduced in Version 3.1.0.

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 SNMP statistics for network data ports on the switch, use the following command:

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

switch:           Spine-1

port:             9

port-clear-count: 0

port-clear-time:  27m57s

all-ports:        false

counter:          0

ibytes:           916

ibits:            7.33K

iUpkts:           0

iBpkts:           6

iMpkts:           6

iPauseFs:         0

CongDrops:        0

idiscards:        0

ierrs:            0

ibytes:           477K

obits:            3.91M

oUpkts:           0

oBpkts:           91

oMpkts:           4.87K

oPauseFs:         0

oCongDrops:       0

odiscards:        0

oerrs:            0

mtu-errs:         0

HER-pkts:         0

ER-bytes:         0

 

north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south