Performing Factory Reset

This document outlines the process of performing a factory reset on Cisco devices, detailing the necessary prerequisites, potential limitations, and the step-by-step procedure.

Prerequisites for Performing Factory Reset

Limitations for Performing Factory Reset

Information About Factory Reset

Factory Reset removes all customer-specific data added to the device since its shipment. This includes configurations, log files, boot variables, core files, and credentials such as FIPS-related keys.

The following table details the data erased and retained during the Factory Reset process:

Data Erased and Retained During Factory Reset
Data ErasedData Retained
All Cisco IOS images, including the current boot imageData from Remote field-replaceable units (FRUs)
Crash information and logsValue of the configuration register
User data, and startup and running configurationContents of USB
Credentials like FIPS-related keysCredentials like Secure Unique Device Identifier (SUDI) certificates, Public key infrastructure (PKI) keys
Onboard Failure Logging (OBFL) logs
ROMMON variables added by the user

The Factory Reset process is applicable in two scenarios:

The device reloads to execute the Factory Reset. This reload results in the device entering ROMMON mode. After the reset is complete, the Cisco IOS image can be loaded via USB or TFTP.

How to Perform Factory Reset

Procedure

Command or ActionPurpose
enable
Example: Device> enable
Enables privileged EXEC mode. Enter your password if prompted.
factory-reset {all | config | boot-vars}
Example: Device# factory-reset all
Use the command with all options enabled. No system configuration is required. This command erases all content from NVRAM, all Cisco IOS images (including the current boot image), boot variables, startup and running configuration data, and user data. The option config resets startup configurations. The option boot-vars resets user-added boot variables. After successful completion, the device reboots and stops in ROMMON mode.

Feature History and Information for Factory Reset

ReleaseFeature Information
Cisco IOS XE Fuji 16.9.2This feature was introduced.

PDF preview unavailable. Download the PDF instead.

simplified factory reset DITA Open Toolkit XEP 4.9 build 20070312; modified using iText 2.1.7 by 1T3XT

Related Documents

PreviewPerforming a Factory Reset on Cisco Devices
A guide on how to perform a factory reset on Cisco devices, including prerequisites, limitations, and the step-by-step procedure. Learn about data erased and retained during the process and find additional references.
PreviewCisco 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.
PreviewPerforming Factory Reset on Cisco Devices
A guide on how to perform a factory reset on Cisco devices, including prerequisites, limitations, and the step-by-step procedure. Details data erased and retained during the process.
PreviewPerforming 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.
PreviewCisco Factory Reset Guide for Cisco IOS XE Routers
A comprehensive guide to performing factory resets on Cisco routers running Cisco IOS XE, detailing the 'factory-reset all' and 'factory-reset all secure' commands, their functionalities, and prerequisites.
PreviewGuida 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.
PreviewPerforming Factory Reset on Cisco ASR 1000 Series Routers
A guide detailing the factory reset procedure for Cisco ASR 1000 Series Aggregation Services Routers, including how it works, necessary prerequisites, operational restrictions, and scenarios for its use.
PreviewPerforming 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.