Cisco Systems OL-6244-01 Switch User Manual


  Open as PDF
of 1438
 
2-27
Catalyst 6500 Series Switch Command Reference—Release 8.4
OL-6244-01
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands
clear counters
Examples This example shows how to reset MAC and port counters to zero:
Console> (enable) clear counters
This command will reset all MAC and port counters reported in CLI and SNMP.
Do you want to continue (y/n) [n]? y
MAC and Port counters cleared.
Console> (enable)
This example shows how to reset MAC and port counters to zero for a specific module and port:
Console> (enable) clear counters 5/1
This command will reset MAC and port counters reported by the CLI for port(s) 5/1.
Do you want to continue (y/n) [n]? y
MAC and Port counters cleared.
Console> (enable)
This example shows how to reset all PAgP channel counters:
Console> (enable) clear counters channel all
This command will reset MAC and port counters reported by the CLI for all ports.
Counters reported by SNMP will not be affected.
Do you want to continue (y/n) [n]? y
MAC and Port counters cleared.
Console> (enable)
This example shows how to reset the counters for a specific PAgP channel:
Console> (enable) clear counters channel 769
This command will reset MAC and port counters reported by the CLI for PAGP channel 769
Counters reported by SNMP will not be affected.
Do you want to continue (y/n) [n]? y
MAC and Port counters cleared.
Console> (enable)
Related Commands restore counters
show channel traffic
show port channel
show port counters
show port lacp-channel