Enable Factory Default Behavior

Specifies whether the switch uses the factory default settings at startup. The default value is disabled. This flag is automatically reset to the default value after the CPU restarts. If you change this parameter, you must restart the switch.

Note

Note

The factorydefaults flag deletes the runtime, primary and backup configuration files, local password files, authentication keys, and certificates. After a factory default, you must change the password on first login.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Enable factory default behavior:

    boot config flags factorydefaults

  3. Save the changed configuration.
  4. Restart the switch.