Overview
Explains the process of clearing configurations and personal data to restore the device to a functional default state. Use this feature when decommissioning, repurposing, or recovering a compromised router.
Cisco Catalyst 8500 and 8500L Series Edge Platforms Software Configuration Guide
Explains the process of clearing configurations and personal data to restore the device to a functional default state. Use this feature when decommissioning, repurposing, or recovering a compromised router.
Factory Reset is a process of clearing the current running and start-up configuration information on a device, and resetting the device to an earlier, fully-functional state.
The factory reset process uses the factory-reset all command to take backup of existing configuration, and then reset the router to an earlier, fully functional state. The duration of the factory reset process is dependent on the storage size of the router. It can vary between 30 minutes on a C8500 consolidated platform, and up to 3 hours on a high availability setup.
From Cisco IOS XE Bengaluru 17.6 release and later, you can use the factory-reset all secure command to reset the router and securely clear the files stored in the bootflash memory.
| Command Name | Data Erased | Data Retained |
|---|---|---|
| factory-reset all secure | Non-volatile random-access memory (NVRAM) data |
Data from remote field-replaceable units (FRUs). |
| OBFL (Onboard Failure Logging) logs |
Value of configuration register
|
|
| Licenses |
Contents of USB |
|
| User data, startup, and running configuration |
Credentials (Secure Unique Device Identifier [SUDI] certificates, public key infrastructure (PKI) keys, and FIPS-related keys) |
|
| ROMMON variables |
||
| All writeable file systems and personal data.
|
||
| factory-reset keep-licensing-info |
|
|
After the factory reset process is complete, the router reboots to ROMMON mode. If you have the zero-touch provisioning (ZTP) capability setup, after the router completes the factory reset procedure, the router reboots with ZTP configuration.
This feature is supported on all Cisco Catalyst 8500 and 8500L Series Edge Platforms. Factory Reset process is supported on standalone routers as well as on routers configured for high availability.
Ensure that all the software images, configurations and personal data is backed up before performing factory reset.
Ensure that there is uninterrupted power supply when factory reset is in progress.
The factory reset process takes a backup of the boot image if the system is booted from an image stored locally (bootflash or hard disk). If the current boot image is a remote image or stored on an USB, NIM-SSD or such, ensure that you take a backup of the image before performing factory reset.
The factory-reset all secure command erases all files, including the boot image, even if the image is stored locally. If the current boot image is a remote image or stored on a USB, NIM-SSD, or such, ensure that you take a backup of the image before performing secure factory reset.
Ensure that ISSU/ISSD (In- Service Software Upgrade or Downgrade) is not in progress before performing factory reset.
Any software patches that are installed on the router are not restored after the factory reset operation.
If the factory reset command is issued through a Virtual Teletype (VTY) session, the session is not restored after the completion of the factory reset process.
Return Material Authorization (RMA): If a router is returned back to Cisco for RMA, it is important that all sensitive information is removed.
Router is compromised: If the router data is compromised due to a malicious attack, the router must be reset to factory configuration and then reconfigured once again for further use.
Repurposing: The router needs to be moved to a new topology or market from the existing site to a different site.
| 1. | Log in to a Cisco Catalyst 8500 or 8500L device.
|
|
| 2. | This step is divided into two parts (a and b). If you need to retain the licensing information while performing the factory-reset command, follow step 2. a. If you do not need to retain the licensing information and want all the data to be erased, perform step 2. b. |
|
| 3. | Enter confirm to proceed with the factory reset.
|
After the factory reset is successfully completed, the router boots up. However, before the factory reset process started, if the configuration register was set to manually boot from ROMMON, the router stops at ROMMON.
After you configure Smart Licensing, execute the #show license status command, to check whether Smart Licensing is enabled for your instance.
If you had Specific License Reservation enabled before you performed the factory reset, use the same license and enter the same license key that you received from the smart agent.