Brocade Network OS Command Reference v4.1.0 User Manual

Page 128

Advertising
background image

90

Network OS Command Reference

53-1003115-01

clear counters access-list

2

rbridge-id

Specifies the RBridge ID. This is not valid in standalone mode.

slot

Specifies a valid slot number.

port

Specifies a valid port number.

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 such
as 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

clear counters access-list (interface), clear counters access-list (ip),
clear counters access-list (MAC),

Advertising