Recovery Procedures
These sections describe switch recovery procedures:
- Removing the Enable Password from the Startup Configuration
- Reverting the switch to the Factory Default Startup Configuration
- Restoring the Factory Default eos Image and Startup Configuration
- Restoring the Configuration and Image from a USB Flash Drive
The first three procedures require Aboot Shell access through the console port. If the console port is not accessible, use the last procedure in the list to replace the configuration file through the USB Flash Drive.
1 describes the switch booting process and includes descriptions of the Aboot shell, Aboot boot loader, and required configuration files.
Removing the Enable Password from the Startup Configuration
The enable password controls access to Privileged EXEC mode. To prevent unauthorized disclosure, the switch stores the enable password as an encrypted string that it generates from the clear-text password. When the switch authentication mode is local and an enable password is configured, the CLI prompts the user to enter the clear-text password after the user types enable at the EXEC prompt.
The startup-config file stores the encrypted enable password to ensure that the switch loads it when rebooting. If the text version of the enable password is lost or forgotten, access to enable mode is restored by removing the encrypted enable password from the startup configuration file.
This procedure restores access to enable mode without changing any other configuration settings.
Reverting the switch to the Factory Default Startup Configuration
The startup-config file contains configuration parameters that the switch uses during a boot. Parameters that do not appear in startup-config are set to their factory defaults when the switch reloads. The process requires the Aboot password if Aboot is password protected.
This procedure reverts eos configuration settings to the default state through bypassing the startup-config file during a switch boot.
Restoring the Factory Default eos Image and Startup Configuration
A fullrecover command removes all internal flash contents (including configuration files, eos image files, and user files), then restores the factory default eos image and startup-config. A subsequent installation of the current eos image may be required if the default image is outdated. This process requires Aboot shell access through the console port.
This procedure restores the factory default eos image and startup configuration.
Restoring the Configuration and Image from a USB Flash Drive
The USB flash drive port can be used to restore an original configuration when you cannot establish a connection to the console port. This process removes the contents of the internal flash drive, restores the factory default configuration, and installs a new eos image from the USB flash drive.
This procedure restores the factory default configuration and installs an eos image stored on a USB flash drive.