boot config flags factorydefaults config-only

Boots the switch with a blank configuration.

This parameter preserves configuration files, primary and secondary configuration file names, user accounts and passwords, digital certificates, IKE/OSPF/IS-IS keys, license files, and SNMP communities. All ports are disabled and assigned to VLAN 1.

Use this parameter as a temporary troubleshooting option to test or investigate if something is wrong with the configuration without permanently removing the configuration files, user accounts, and other preserved items.

Syntax

Default

The default is disabled.

Command Mode

Global Configuration

Usage Guidelines

This flag resets to the default value after the CPU restarts. If you change this flag, you must restart the switch.