vlan-stats-show
This command displays traffic statistics per VLAN.
Syntax vlan-stats-show
time date/time: yyyy-mm-ddThh:mm:ss |
Specifies the time for the statistics. |
start-time start-time |
Specifies the start time for the statistics display using the notation yyyy-mm-ddThh:mm:ss. |
end-time end-time |
Specifies the end time for the statistics display using the notation yyyy-mm-ddThh:mm:ss. |
duration duration: #d#h#m#s |
Specify the duration for the traffic statistics. |
interval duration: #d#h#m#s |
Specifies the time interval for the statistics display. |
since-start|no-since-start |
Specifies if the statistics are collected from the start of the VLAN. |
older-than duration: #d#h#m#s |
Specifies if the statistics are older than the stated duration. |
within-last duration: #d#h#m#s |
Specifies the statistics collected within the last duration. |
vlan vlan-id |
Specify a specific VLAN to display statistics. |
vnet vnet-name |
Specify a vNET name. |
public-vlan vlan-id |
Specify a public VLAN ID. |
vxlan vxlan-id |
Specify a VXLAN ID. |
ibits ibits-number |
Displays the number of incoming bits for the VLAN. |
obits obits-number |
Displays the number of outgoing bits for the VLAN. |
Defaults None.
Access CLI
History
Version 1.2 |
Command introduced. |
Version 2.2.3 |
The parameter id, and name deprecated. The parameters duration, and interval added. |
Version 2.4.1 |
The parameters vnet, public-vlan, and VXLAN added. |
Version 3.0.0 |
The parameters ibits and obits added. |
Usage VLANs can be used to isolate network traffic at Layer 2. This command displays traffic statistics per VLAN.
Examples This example shows how to display traffic statistics logs between the times of 8:00 am, and 8:01 am on January 31, 2019.
CLI (network-admin@switch) > vlan-stats-show format all layout vertical
switch: Leaf2
time: 10:51:02
vlan: 1
vnet:
ibytes: 36.2T
ipkts: 89.0G
idrops-bytes: 119M
idrops-pkts: 313K
obytes: 0
opkts: 0
odrops-bytes: 0
odrops-pkts: 0
switch: Leaf2
time: 10:51:02
vlan: 35
vnet:
ibytes: 10.8K
ipkts: 154
idrops-bytes: 0
idrops-pkts: 0
obytes: 0
opkts: 0
odrops-bytes: 0
odrops-pkts: 0
switch: Leaf1
time: 10:51:02
vlan: 1
vnet:
ibytes: 34.9T
ipkts: 84.6G
idrops-bytes: 3.03M
idrops-pkts: 5.69K
obytes: 0
opkts: 0
odrops-bytes: 0
odrops-pkts: 0