restore-defaults

This topic explains the command that resets the switch to factory default settings and reboots it.

Syntax

restore-defaults

Default

No default value.

Mode

Privileged EXEC

Usage

Use this command to restore the switch to factory default settings, after which the switch automatically reboots.

Note: This command has the same effect as the delete startup-config command.

Example

This example shows how to restore the switch to factory default settings and then reboot the switch:

CODE
Switch# restore-defaults
Rebooting now...