clear config

This command resets the configuration to the factory defaults without powering off the switch. When you issue this command, you are prompted to confirm that the reset should proceed. When you respond with y, the switch's current configuration is reset to the factory default values. The switch is not rebooted.

Format clear config
Mode Privileged EXEC