switch-nic-stats-show
This command displays NIC statistics for management and rear-facing interfaces.
Syntax switch-nic-stats-show
| Specify any of the following options to display the corresponding information. |  | 
| time date/time: yyyy-mm-ddTHH:mm:ss | Specify the time to start statistics collection. | 
| start-time date/time: yyyy-mm-ddTHH:mm:ss | Specify the start date and time for statistics collection. | 
| end-time date/time: yyyy-mm-ddTHH:mm:ss | Specify the end date and time for statistics collection. | 
| duration duration: #d#h#m#s | Specify the duration for statistics collection. | 
| interval duration: #d#h#m#s | Specify the interval for statistics collection. | 
| since-start | Displays statistics from the start. | 
| older-than duration: #d#h#m#s | Displays statistics older than the specified date and time. | 
| within-last duration: #d#h#m#s | Displays statistics within the specified duration. | 
| name switch-nic-stats-list name | Specify the name of the interface for which statistics has to be displayed. | 
Defaults None.
Access CLI
History Command introduced in nvOS Version 5.1.2.
| Version 5.1.2 | Command introduced without parameters. | 
| Version 6.0.0 | Parameters added. | 
Usage Use this command to display NIC statistics for management and rear-facing interfaces.
Examples To display the NIC statistics for eth0 interface with a vertical layout, use the command:
CLI (network-admin@switch) > switch-nic-stats-show name eth0 layout vertical
name: eth0
ipkts: 2.85M
ibytes: 2.38G
opkts: 492K
obytes: 261M
ierrs: 0
oerrs: 0
idrops: 0
odrops: 0
imcast: 1.76M
omcast: 131K
ibcast: 7.18K
obcast: 25
mcast: 1.76M
bcast: 0
ioverruns: 0
rxnobuf: 0
icrcerrs: 0
iframeerrs: 0
ififoerrs: 0
ofifoerrs: 0
ilongerrs: 0
ishorterrs: 0
ipkts_0: 1.08M
ipkts_1: 495K
ipkts_2: 558K
ipkts_3: 756K
...
opkts_0: 113K
opkts_1: 142K
opkts_2: 115K
opkts_3: 122K
opkts_4: 0
...
idrops_0: 0
idrops_1: 0
...
idrops_22: 0
idrops_23: 0
