2-26
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
clear counters
clear counters
To clear MAC counters, EtherChannel MAC counters, port counters, and the channel traffic percentile,
use the clear counters command.
clear counters all
clear counters mod/ports
clear counters supervisor
clear counters channel {all | channel_id}
clear counters lacp-channel {all | channel_id}
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines If you do not specify a range of ports to be cleared, then all ports on the switch are cleared.
To clear channel-based counters on a pe r- channe l basis, use the channe l ID num ber. Enter the show port
channel command to find the channel ID number for PAgP channels . Enter the sho w port lacp-channel
command to find the channel ID number for LACP channels.
If you enter a channel-id argument that conflicts with the protocol type for the command, this message
displays:
Wrong protocol type for the command.
If you enter a channel-id argument that is not in the correct channel-id range, this message displays:
Valid channel Id range 1665..1792.
all Clears MAC and port counters for all ports.
mod/ports Number of the module and the ports on the modul e.
supervisor Clears error counters for the supervisor engine.
channel Clears PAgP channel MAC and port counters.
all Clears all PAgP channel counters.
channel_id Number of a specific PAgP channel.
lacp-channel Clears LACP channel counters.
all Clears all LACP channel counters.
channel_id Number of a specific LACP channel.