vlan-stats-show

This command displays traffic statistics per VLAN.

Syntax   vlan-stats-show [time date/time: yyyy-mm-ddThh:mm:ss] [start-time start-time] [end-time end-time] [duration duration: #d#h#m#s] [interval duration: #d#h#m#s] since-start|no-since-start older-than duration: #d#h#m#s within-last duration: #d#h#m#s vlan vlan-id 

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.

 

Formatting Options

format fields-to-display

Display output using a specific parameter. Use all to display all possible output.

parsable-delim character

Display output formatted for machine parsing using a specified delimiter.

sort-asc

Display output in ascending order.

sort-desc

Display output in descending order.

show dups

Display duplicate entries in the output.

layout vertical|horizontal

Format the output in a vertical or horizontal layout.

show-interval seconds-interval

Repeat the show command at a specified interval.

show-headers|
no-show-headers

Display column headers or not.

limit-output number

Limit the display output to a specific number of entries.

count-output

Display the number of entries in the output. This is useful with vRouter show commands.

unscaled

Display full values in the output instead of scaled approximate values.

raw-int-values

Display integer values instead of mapped values

sum-by

Aggregate output by specific parameters. If sum-by fields are specified, records that have the same value in sum-by fields are combined and displayed as one aggregate record. NOTE: This option is only available for show commands that collect statistics such as connection-stats-show.

Defaults   None.

Access   CLI

History   Command introduced in nvOS Version 1.2.1.

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, 2013.

CLI network-admin@switch > vlan-stats-log-show start-time 12:00:00 end-time 12:25:00

switch:       pleiades24

time:         12:20:42

vlan:         1

ibytes:       546M

ipkts:        1.64M

idrops-bytes: 256

idrops-pkts:  4

obytes:       0

opkts:        0

odrops-bytes: 0

odrops-pkts:  0

switch:       pleiades25

time:         12:20:42

vlan:         100

ibytes:       305M

ipkts:        4.41M

idrops-bytes: 64

idrops-pkts:  1

obytes:       0

opkts:        0

odrops-bytes: 0

odrops-pkts:  0

 

See Also   

vlan-create

vlan-delete

vlan-show

vlan-port-add

vlan-port-remove