Cisco Catalyst 8000V Edge Software Installation And Configuration Guide

PDF

Cisco Catalyst 8000V Edge Software Installation And Configuration Guide

Factory reset in Cisco Catalyst 8000V

Want to summarize with AI?

Log in

Defines factory reset, which is the process of clearing the current running and start up configuration information on a router, and resetting the router to an earlier, fully functional state.


Factory reset is a process of clearing the current running and start up configuration information on a router, and resetting the router to an earlier, fully functional state.

  • The factory reset process uses the factory-reset all command.

  • The time required for a factory reset on a Cisco Catalyst 8000V instance depends on factors such as the type of storage and the devices present on the router.

Data erased or retained during factory reset

This table provides the information retained and erased during a factory reset:

Command name

Data erased

Data retained

factory-reset all
  • Licenses – user installed, and manufacturer provided

  • Non-volatile random-access memory data

  • User credentials

  • Startup configuration

  • All writable file systems and personal data

  • ROMMON variable

  • Persistent storage devices

  • Any containers running on bootflash

  • Critical information, including files that provide access to the router after the reset is complete

  • The software packages installed before you perform a factory reset

  • UDI and Smart Licensing files

factory-reset keep-licensing-info

  • License Boot level configuration

  • Throughput level configuration

  • Smart license transport type

  • Smart license URL data

  • Real User Monitoring (RUM) Reports (open/unacknowledged license usage report)

  • Usage reporting details (last ACK received, next ACK scheduled, last/next report push)

  • Unique Device Identification (UDI) trust codes

  • Customer policy received from CSSM

  • SLAC, SLR authorization codes return codes

  • Factory installed purchase information

Supported scenarios

Perform a factory reset in these scenarios:

  • When you want to delete a Cisco Catalyst 8000V instance in a secure manner.

  • If the router data is compromised due to a malicious attack, you must reset the router to factory configuration and then reconfigure it for further use.

Factory reset is supported on a Cisco Catalyst 8000V instance running on various platforms including Amazon Web Services, Microsoft Azure, Google Cloud Platform cloud, VMware ESXi, and Hyper-V.


Prerequisites for factory reset

Before performing a factory reset, ensure:

  • A backup of all the software images, configurations and personal data is available before performing the factory reset operation.

  • Uninterrupted power supply is available when the factory reset process is in progress.

  • The instance has at least 8 GB of memory in the bootflash.


Restrictions for factory reset

This list specifies the limitations while performing a factory reset.

  • Any software patches that are installed on the router are not restored after the factory reset operation.

  • Restarting the Cisco Catalyst 8000V instance during the factory reset process results in failure.

  • 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.


Perform a Factory Reset

Complete the steps in this section to perform a factory reset.

Procedure

  1. Log in to a Cisco Catalyst 8000V instance.

  2. At the command prompt, run the factory-reset all command.

    factoryreset# factory-reset all
                        The factory reset operation is irreversible for all operations. Are you sure? [confirm]
                        The following will be deleted as a part of factory reset:
                        1: All writable file systems and personal data
                        2: Licenses
                        3: Configuration
                        4: User Credentials
                        The system will reload to perform a factory reset.
                        Note that any day0 configuration will be applied after reload
                        DO NOT STOP OR INTERRUPT THE POWER DURING RESET
                        Are you sure you want to continue? [confirm]Connection to 172.18.25.29 closed by remote host.
                        Connection to 172.18.25.29 closed.
                    
  3. Enter confirm to proceed with the factory reset.

    A log file in the bootflash indicates whether the process succeeded.

    Note

    The duration of the factory reset process depends on the storage type and the cloud service used to deploy the instances.

  4. To quit the factory reset process, press the Escape key.

What to do next

After the reset, Smart Licensing configuration is also deleted. You must reconfigure Smart Licensing on the router by using the token ID.

In the connected mode, register your instance for Smart Licensing and use the force option. Use the license smart register idtoken <token> force command. The registration process begins.

If you do not use the force option and configure Smart Licensing directly, the license registration fails. See this sample failed registration output.

router# show license status
router# show license status
Smart Licensing is ENABLED

Utility:
  Status: DISABLED

Data Privacy:
  Sending Hostname: yes
    Callhome hostname privacy: DISABLED
    Smart Licensing hostname privacy: DISABLED
  Version privacy: DISABLED

Transport:
  Type: Callhome

Registration:
  Status: UNREGISTERED - REGISTRATION FAILED
  Export-Controlled Functionality: NOT ALLOWED
  Initial Registration: FAILED on Feb 15 22:03:29 2019 UTC
    Failure reason: The product regid.2013-08.com.cisco.C8KV,1.0_1562da96-9176-4f99-a6cb-14b4dd0fa135 and sudi containing udiSerialNumber:9XIVK9PIVPK,udiPid:C8000V has already been registered.

License Authorization: 
  Status: No Licenses in Use

Export Authorization Key:
  Features Authorized:

What happens after factory reset

After the factory reset is successfully completed, the router boots up. If the configuration register was set to manually boot from ROMMON before the factory reset process began, the router stops at ROMMON after the reset.

If the current boot image is a remote image or is stored in a USB or a NIM-SSD, ensure that you take a backup of the image before starting the factory reset process.

Verify device details

Factory reset does not change the UDI of the Cisco Catalyst 8000V instance. To verify whether the UDI is the same after the factory reset, run the factoryreset# show license udi command before and after the factory reset process.

To check whether Smart Licensing is enabled for your instance, after you configure Smart Licensing, run the #show license status command.

Note

If you had SLR enabled before you performed the factory reset, use the same license and enter the same license key that you received from the smart agent.