show ports vlan statistics

show ports {port_list} vlan statistics {no-refresh | refresh}

Description

Displays VLAN (Virtual LAN) statistics at the port level.

Syntax Description

port_list Specifies one or more ports or slots and ports. Can be one or more port numbers. May be in the form: 1, 2, 3-5, 1:*, 1:5, 1:6-1:8.
no-refresh Specifies that there is no continuous refresh. The prompt comes back to the user after fetching statistics once.
refresh Continuous refresh of output.

Default

N/A.

Usage Guidelines

This command is used in conjunction with the configure ports [port_list|all] monitor vlanvlan_name {rx-only | tx-only} command.

Example

The following command displays statistics for the ports 1-2 on node 5:

show ports 5:1-2 vlan stats
Displays the vlan statistics in a real time countinous refresh mode or no-refresh mode.
# show ports 5:1-2 vlan stat
Port VLAN Statistics                                  Wed Mar 28 10:52:59 2007
Port    Vlan      Rx Frames          Rx Byte         Tx Frame        Tx Byte
Count          Count            Count          Count
================================================================================
5:1      Default  318750522     20400046784        318750588      20400051672
5:2      Default  292811491     18739948736        292811975      18739980504
0->Clear Counters  U->page up  D->page down ESC->exit

For ports that do not support transmit statistics, a '-' will be displayed. For ports that do not support transmit byte counters, a '-' will be displayed for that row and column. Similarly, configuration using rx-only or tx-only will result in the display of “-”'s in the appropriate rows and columns.

History

This command was first available in ExtremeXOS 12.0.

The refresh keyword was added in ExtremeXOS 16.1.

Platform Availability