Brocade Communications Systems 53-1001762-01 Manual De Usuario

Descargar
Página de 252
Converged Enhanced Ethernet Command Reference
57
53-1001762-01
DRAFT: BROCADE CONFIDENTIAL
Chapter
4
Interface Commands
clear counters
Clears statistics on all interfaces on the switch.
Synopsis
clear counters {all | access-list mac access_list_name | [interface port-channel number 
tengigabitethernet slot/port | slot-id number] }
Operands
all
Specifies to clear statistics on all interfaces.
access-list mac access_list_name
Specifies the name of the MAC access list.
interface 
Use this keyword to specify any of the following interfaces:
port-channel number
Specifies the port-channel number. The range of valid values is 1-63.
tengigabitethernet 
Specifies a valid 10 Gbps Ethernet interface.
slot
Specifies a valid slot number.
port
Specifies a valid port number.
slot-id number Specifies the slot number of the linecard. For the Brocade 8000 switch, the 
slot number is always 0 (zero).
Description
Use this command to clear statistics on one or on all interfaces.
Defaults
There are no default configurations for this command.
Command
Modes
Privileged EXEC mode
User Guidelines
The clear counters all command does not clear counters for any of the protocol daemon stats like 
LLDP, LACP, MSTP, and so on.
Example
To clear the statistics for 10 Gbps Ethernet interface 0/1:
switch#clear counters interface tengigabitethernet 0/1
To clear the statistics for MAC access list named “test”:
switch#clear counters access-list mac test
To clear the statistics for all the interfaces on the linecard in slot 0 (zero):
switch#clear counters slot-id 0