Brocade Network OS Command Reference v4.1.0 User Manual

Page 139

Advertising
background image

Network OS Command Reference

101

53-1003115-01

clear counters (IP)

2

ve vlan_id

Specifies the virtual Ethernet (VE) interface to which the ACL is bound.
(Refer to the Usage Guidelines.)

rbridge-id

Specifies RBridge ID for node-specific ACL interface details.

rbridge-id | all

Specifies the unique identifier for a switch. All refers to all rbridge-ids in the
cluster.

Defaults

None

Command Modes

Privileged EXEC mode

Description

Use this command to clear statistics on one or on all interfaces.

Usage Guidelines

The clear counters all command does not clear counters for any of the protocol daemon stats like
LLDP, LACP, MSTP, and so on.

For Brocade VDX switches, the slot number is always 0 (zero).

On the Brocade VDX family of switches, VLANs are treated as interfaces from a configuration point
of view. By default all the DCB ports are assigned to VLAN 1 (VLAN ID equals 1). Valid VLAN IDs are
as follows:

On Brocade VDX 8770 switches: 1 through 4086 for 802.1Q VLANs (VLAN IDs 4087
through 4095 are reserved on these switches), and 4096 through 8191 for service or
transport VFs in a Virtual Fabrics context.

On all other Brocade VDX switches: 1 through 3962 for 802.1Q VLANs (VLAN IDs 3963
through 4095 are reserved on these switches), and 4096 through 8191 for service or
transport VFs in a Virtual Fabrics context.

Examples

To clear the statistics for the 10-gigabit Ethernet interface 5/0/1:

switch# clear counters interface tengigabitethernet 5/0/1

To clear the statistics for all the interfaces on the linecard in slot 0 (zero):

switch# clear counters slot-id 0

See Also

show ip igmp groups

Advertising