Configuring VLAN Statistics
-
Configure the switch to start counting VLAN statistics with the commands:
clear countersconfigure ports [port_list|all] monitor vlan vlan_name {rx-only | tx-only}
-
View VLAN statistics at the port level with the
command:
show ports {port_list} vlan statistics {no-refresh}
The switch collects and displays the following statistics:
-
Port—The designated port.
-
VLAN—The associated VLANs.
-
Rx Frames Count—The total number of frames successfully received by the port on the designated VLAN.
-
Rx Byte Count—The total number of bytes that were received by the port on the designated VLAN.
-
Tx Frame Count—The total number of frames that were transmitted by the port on the designated VLAN.
-
Tx Byte Count—The total number of bytes that were transmitted by the port on the designated VLAN.
Frame and byte counters are also displayed through SNMP.
-
-
View VLAN statistics at the VLAN level with the
command:
show ports {port_list} vlan statistics {no-refresh}
The switch collects and displays the following statistics:
-
VLAN—The designated VLAN.
-
Rx Total Frames —The total number of frames successfully received by the port.
-
Rx Byte Count—The total number of bytes that were received by the port.
-
Tx Total Frames—The total number of frames that were transmitted by the port.
-
Tx Byte Count—The total number of bytes that were transmitted by the port.
-
-
Stop counting VLAN statistics.
unconfigure ports [port_list |all] monitor vlan vlan_name
Note
While using VLAN statistics, traffic also matching egress ACL counters will cause the VLAN statistics Tx counter to not increment.