beautypg.com

Clearing counters for all vlans, Clearing counters for a specific vlan, Clearing vlan and port counters – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual

Page 230

background image

200

Multi-Service IronWare Switching Configuration Guide

53-1003036-02

Clearing extended VLAN counters

7

Clearing counters for all VLANs

To clear the ingress and egress packet and byte counters for routed packets and switched packets
on all VLANs, enter the following command.

Brocade# clear vlan all-vlans statistics

Syntax: clear vlan all-vlans statistics [switched]

Enter the switched keyword to clear only the counters of switched packets. If you do not specify the
switched keyword, the counters for both routed packets and switched packets are cleared. The
switched keyword is accepted only if the routed packets and switched packets are counted
separately.

Clearing counters for a specific VLAN

To clear the VLAN counters for a specific VLAN, enter the following command.

Brocade#

clear vlan 10 statistics

Syntax: clear vlan vlan-id statistics [switched]

Use the vlan-id option to specify the VLAN ID of the port for which you want to clear the counters.

Enter the switched keyword to clear only the counters of switched packets. If you do not specify the
switched keyword, the counters for both routed packets and switched packets are cleared. The
switched keyword is accepted only if the routed packets and switched packets are counted
separately.

Clearing VLAN and port counters

To clear VLAN, port, and priority counters for specific VLAN and port combinations, enter the
following command.

Brocade# clear vlan 10 statistics ethernet 1/2 switched

Syntax: clear vlan vlan-id statistics ethernet port-id [switched]

Use the vlan-id option to specify the VLAN ID of the port for which you want to clear the counters.

Use the port-id option to specify the port for with you want to clear the counters.

Specify the switched keyword to clear counters for the switched packets. If the switched keyword is
not specified the counters for both routed packets and switched packets will be cleared. The
switched keyword is accepted only if the routed packets and switched packets are counted
separately.

Clearing VLAN counters on a port with a specific priority

To clear counters for a specific port in a VLAN with specific priority, enter the following command.

Brocade# clear vlan 10 statistics ethernet 1/2 priority 3 switched

Syntax: clear vlan vlan-id statistics ethernet port-id priority 0-7 [switched]

Use the vlan-id option to specify the VLAN ID of the port for which you want to clear the counters.

Use the port-id option to specify the port for with you want to clear the counters.