Factory Reset

This chapter describes the Factory Reset feature and how it can be used to protect or restore a router to an earlier, clean state.

Feature History

Feature Name Release Information Feature Description
Enhancements to Factory Reset Cisco IOS XE Dublin 17.12.1 You can use the factory-reset all secure command to reset the router and securely clear the files that are stored in both bootflash and SSD. This command performs sanitization and clears all the user data from eUSB, SSD, ROMVAR, and ACT2.
With this release, the factory-reset all secure command is now more secure performs better sanitization.
Secure Factory Reset Cisco IOS XE Cupertino 17.9.1w Use the factory-reset all secure command to reset the router and securely clear the files that are stored in both bootflash and SSD. This command performs sanitization and clears all the user data from eUSB, SSD, and ROMVAR and ACT2.
Fast Factory Reset Cisco IOS XE Everest 16.6.1 In this release we introduce the factory-reset all command. The following steps are performed while executing the factory-reset all command:
1. Backing up of the image.
2. Deletion of ROMMON variables.
3. Reseting eUSB flash:
• Overwriting each partition with 0's using dd command.
4. Reseting SSD:
• Skipping dd command to overwrite, and to save time.
• Formatting harddisk partition.
5. Copying image and debug log to bootflash.

Information About Factory Reset

Factory Reset is a process of clearing the current running and start-up configuration information and other private user information on a device, and resetting the device to an earlier clean state.

To perform a fast factory reset, use the factory-reset all command to erase existing configuration, and other user data and reset the router to a clean state. This command reformats the eUSB flash, SSD, and clears ROMVAR. The duration of the factory reset process depends on the storage size of the router. It varies 10–30 minutes.

Starting with Cisco IOS XE Cupertino 17.9.1w, you can use the factory-reset all secure command to reset the router and securely clear the files that are stored in both bootflash and SSD. This command performs sanitization and clears all the user data from eUSB, SSD, and ROMVAR and ACT2. Secure reset can take up around 1.5 hours for SUP160 and around 2 hours for SUP250.

The Cisco CBR-8 has two Supervisor Modules, 8 Line Cards, 8 Line Card PIC slots, and two Supervisor PIC slots. There are two types of Supervisor Modules, with different SSD locations:

Only Supervisor Modules store sensitive user information. Factory reset can't be performed when booting with subpackages. To perform factory reset, you must boot with a single consolidated image.

There are several storage components in Cisco cBR-8 Supervisor Modules as listed below:

Memory Component Type Memory Size(GB) Volatility Purpose Data Sanitization
RP memory DRAM 48GB Volatile DRAM for CPU All data is lost when power is turned off. Sanitization measure not required.
FP memory DRAM 10GB Volatile DRAM for data engine (data-plane configuration and packet buffer) All data is lost when power is turned off. Sanitization measure not required.
ROM SPI ROM Flash 56MB Non-volatile
  • FPGA images
  • BootRom images
  • ROMMON variables
Both fast and secure factory reset commands erase ROMMON variables.
TAM ACT2 10-15KB Non-volatile
  • SUDI
  • Keys, including private configure encryption key.
  • Secure storage
Both fast and secure factory reset commands erase ACT2 user content.
Bootdisk eUSB Flash 8GB Non-volatile Four types of partitions store:
  • Bootflash: images
  • NVRAM and NVRAM backup: IOS CFG
  • OBFL: OBFL logs
  • CSL: Licensing-related information
  • Fast factory reset reformats bootflash, OBFL, CSL partitions and overwrites NVRAM partitions with zeros.
  • Secure factory reset overwrites the whole device twice with random data then overwrites with zeros.

Note: Reformat does not erase file content in the partition.

SSD Drive SATA SSD SUP-160 and its PIC: 100GB or 120GB
SUP-250: 240GB
Non-volatile One partition mount at /harddisk/ for
  • Images
  • Core files
  • Logs
  • Fast factory reset reformats harddisk partitions.
  • Secure factory reset uses device built-in secure erase command to erase all user data.
Front panel USB Ports Type-A USB flash drives N/A Non-volatile Used for file transfer Not covered by data sanitization. User can unplug them.

Factory Reset Commands

Note: Use the show usb-devices summary command to view a summary of all the system USB devices (eUSB Flash). Use the show hdd-devices summary command to view a summary of all the system HDD/SSD devices.

factory-reset all

Starting with Cisco IOS XE Cupertino 17.9.1w, the following steps are performed while executing the factory-reset all command:

  1. Backing up of the image.
  2. Deleting ROMMON variables and deleting user info in ACT2.
  3. Formatting eUSB flash device partitions.
  4. Formatting SSD device partitions.
  5. Copying the image and debugging log to bootflash.

factory-reset all secure

Starting with Cisco IOS XE Cupertino 17.9.1w, the following steps are performed while executing the factory-reset all command.

  1. Backing up of the image.
  2. Deleting ROMMON variables.
  3. Sanitizing eUSB flash:
    • Overwriting the device with random data multiple times and finally fill the device with zeros.
    • Verifying that device has all 0's.
    • Recreating partitions.
  4. Sanitizing SSD
    • Formatting the partitions.
    • Sending secure erase command to SSD.
    • Verifying that SSD has all 0's.
    • Recreating partitions.
    • Formatting harddisk partition
  5. Copying the image and debugging log to bootflash

Starting with Cisco IOS XE Cupertino 17.12.1, factory reset is enhanced and is now more secure than before.

Prerequisites for Performing Factory Reset

Restrictions for Performing a Factory Reset

When to Perform Factory Reset

Related Topics

Models: Factory Reset, Factory, Reset

PDF preview unavailable. Download the PDF instead.

m-factory-reset DITA Open Toolkit XEP 4.30.961; modified using iText 2.1.7 by 1T3XT

Related Documents

Preview Cisco Factory Reset Guide for Routers
A comprehensive guide on how to perform a factory reset on Cisco routers, including detailed steps for 'factory-reset all' and 'factory-reset all secure' commands, explanations of storage components, and prerequisites.
Preview Cisco Secure Development Lifecycle—Factory Reset Guide
This document details the Cisco Secure Development Lifecycle (CSDL) Factory Reset feature, explaining its purpose, commands, prerequisites, limitations, and scenarios for use. It covers data erasure and retention during the reset process, ensuring a secure and clean state for Cisco devices.
Preview Cisco Catalyst 8500 Series Factory Reset Guide
This guide details the factory reset process for Cisco Catalyst 8500 and 8500L Series Edge Platforms, including procedures, data retention, and important considerations for secure data erasure.
Preview Performing Factory Reset Guide for Cisco Devices
A comprehensive guide on how to perform a factory reset on Cisco devices, including prerequisites, limitations, and step-by-step instructions. Learn about data erased and retained during the process.
Preview Factory Reset Guide for Cisco Devices
This guide provides detailed steps for performing a factory reset and secure erase on Cisco devices, including prerequisites and command-line instructions.
Preview Performing a Factory Reset on Cisco Catalyst 8000V
A comprehensive guide detailing the process of performing a factory reset on the Cisco Catalyst 8000V network device, including prerequisites, steps, and post-reset Smart Licensing configuration.
Preview Guida al Ripristino delle Impostazioni di Fabbrica
Questa guida fornisce istruzioni dettagliate su come eseguire un ripristino delle impostazioni di fabbrica su dispositivi di rete Cisco, inclusi prerequisiti, restrizioni e procedure passo-passo.
Preview Performing Factory Reset on Cisco Devices
A guide on how to perform a factory reset on Cisco devices, including prerequisites, limitations, and the procedure.