port-stats-snmp-show
This command displays SNMP statistics for switch data ports.
Syntax port-stats-snmp-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 |
The number of times port-stats-clear or trunk-stats-clear commands were issued on a port or trunk. |
port_clear_time high resolution time: #ns |
The last high resolution time-stamp (in ns) of the last port-stats-clear command. |
port-clear-time duration: #d#h#m#s |
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 |
The counter number. |
ibytes ibytes-number |
The incoming number of bytes. |
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. |
obits obits-number |
The number of outgoing bits. |
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 |
The 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-packets HER-pts-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 3.1.0 |
Command introduced. |
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
switch port ibits iUpkts iBpkts iMpkts iCongDrops ierrs obits oUpkts oBpkts oMpkts oCongDrops oerrs mtu-errs
------ ---- ----- ------ ------ ------ ---------- ----- ----- ------ ------ ------ ---------- ----- --------
switch 12 86.8M 0 0 45.9K 0 0 2.20T 1 9.40K 3.44G 0 0 0
switch 21 556M 0 0 119K 0 0 33.6G 0 9.34K 61.6M 0 0 0
switch 22 556M 0 0 119K 0 0 557M 0 0 121K 0 0 0
switch 61 2.41G 1 4.64K 1.25M 0 0 33.8G 0 0 61.5M 0 0 0
switch 65 2.35G 0 4.76K 432K 0 1 557M 0 0 119K 0 0 0
switch 69 3.98G 0 0 736K 0 0 790G 1 9.40K 1.41G 2.03G 0 0
switch 70 463K 0 0 781 0 0 0 0 0 0 0 0 0
switch 71 464K 0 0 783 0 0 0 0 0 0 0 0 0
switch 72 464K 0 0 784 0 0 0 0 0 0 0 0 0
switch 274 1.11G 0 0 238K 0 0 34.1G 0 9.34K 61.7M 0 0 0
switch 275 4.76G 1 9.40K 1.67M 0 1 34.3G 0 0 61.6M 0 0 0