clear config
This command resets the configuration to the factory defaults without powering off the switch.
When you issue this command, a prompt appears to confirm that the reset should proceed. When
you enter y, you automatically reset the current configuration on the switch to the default values. It
does not reset the switch.
Format
clear config
Mode
Privileged EXEC
clear mac-addr-table
This command clears the dynamically learned MAC addresses of the switch.
Format
clear mac-addr-table
Mode
Privileged EXEC
clear logging buffered
This command clears the messages maintained in the system log.
Format
clear logging buffered
Mode
Privileged EXEC
clear counters
This command clears the statistics for a specified <unit/slot/port>, for all the ports, or for
the entire switch based upon the argument.
Format
clear counters {<unit/slot/port> | all}
Mode
Privileged EXEC
Utility Commands
Managed Switch CLI Manual, Release 8.0.3
v1.0, July 2010
9-27