138 System Configuration Commands
clear config
System Utility Commands
This section describes system utilities. The commands are divided into two functional groups:
• Show commands display switch settings, statistics, and other information.
• Configuration commands configure features and options of the switch. For every
configuration command, there is a show command that displays the configuration setting.
System utility commands in this section are:
• clear config on page 138
• clear counters on page 138
• clear igmpsnooping on page 139
• clear port-channel on page 139
• clear traplog on page 139
• copy on page 139
• copy (clibanner) on page 141
• enable passwd on page 142
• logout on page 143
• ping on page 144
• reload on page 144
• show terminal length on page 144
• terminal length on page 145
• traceroute on page 145
• write on page 146
clear config
This command resets the configuration to the factory defaults without powering off the
switch. The switch is automatically reset when this command is processed. You are prompted
to confirm that the reset should proceed.
Syntax
clear config
Mode
Privileged Exec
clear counters
This command clears the stats for a specified unit/slot/port or for all the ports or for the
entire switch based upon the argument.