Introduction
This document explains how to restore a Cisco router to its original factory default settings.Prerequisites
Requirements
In order to perform the procedures described in this document, you must have "enable" (also known as "privileged EXEC") access on the router command line interface.Components Used
This document is not restricted to specific software and hardware versions.The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Conventions
For more information on document conventions, refer to the Cisco Technical Tips Conventions.Instructions to Reset a Cisco Router Back to Factory Defaults
There are two main methods to return a Cisco router to its original factory defaults. These two methods are described below.Method 1
This method uses the config-register 0x2102 command in global configuration mode.- Check the configuration register on the router by issuing the show version command. The configuration register setting is displayed in the last line of the show version command output, and should be set to 0x2102. If this is not the case, enter the config-register 0x2102 command once in global configuration mode.
router# configure terminal router(config)# config-register 0x2102 router(config)# end router#
- Erase the current start-up configuration on the router with the write erase command.
- Reload the router with the reload command. When prompted to save the configuration, DO NOT save.
router#reload System configuration has been modified. Save? [yes/no]: n Proceed with reload? [confirm]
- Once
the router reloads, the user will be presented with a 'System
Configuration Dialog' as shown below. The router is now reset back to
the original factory defaults.
--- System Configuration Dialog --- Would you like to enter the initial configuration dialog? [yes/no]:
Method 2
This method uses the config-register 0x2142 command in global configuration mode.- Enter the config-register 0x2142 command in global configuration mode.
router(config)# config-register 0x2142
- Reload the router using the reload command in enable mode. It is not necessary to save when prompted to save the system configuration.
router#reload System configuration has been modified. Save? [yes/no]: n Proceed with reload? [confirm]
- After the router has reloaded, the user will be presented with the 'System Configuration Dialog'. Enter no to the question 'Would you like to enter initial configuration dialog?'
- Change the configuration register setting to 0x2102 by entering the config-register 0x2102 command once in global configuration mode.
- Issue the write memory command in enable mode to overwrite the existing start-up configuration with the current running configuration.
- Reload the router with the reload command in enable mode.
Once the router reloads, the user will be presented again with a 'System configuration Dialog' as shown below. The router is now reset back to the original factory defaults.
--- System Configuration Dialog --- Would you like to enter the initial configuration dialog? [yes/no]:
Verify
This section provides information you can use to verify that your router has been returned to the factory defaults.Certain show commands are supported by the Output Interpreter Tool ( registered customers only) , which allows you to view an analysis of show command output.
- show running-config - used to verify that the previous running configuration has been erased. The user should be left with a skeleton configuration. For example, there should be no IP addresses configured under any interface on the router.
- show version - used to verify that the configuration register is set to the default value of 0x2102.
Комментариев нет:
Отправить комментарий