Vous êtes sur la page 1sur 3

Reset a Cisco Router to Factory Default Settings - Cisco Systems

http://www.cisco.com/en/US/products/sw/iosswrel/ps5187/products_tec...

Cisco IOS Software Releases 12.3 Mainline

Reset a Cisco Router to Factory Default Settings


HOME SUPPORT PRODUCT SUPPORT END-OF-SALE AND END-OF-LIFE PRODUCTS CISCO IOS SOFTWARE RELEASES 12.3 MAINLINE TROUBLESHOOT AND ALERTS TROUBLESHOOTING TECHNOTES
Reset a Cisco Router to Factory Default Settings

Document ID: 46509

Contents
Introduction Prerequisites Requirements Components Used Conventions Instructions to Reset a Cisco Router Back to Factory Defaults Method 1 Method 2 Verify Cisco Support Community - Featured Conversations Related Information

Introduction
This document describes 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. Router# - Privileged EXEC mode

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. 1. 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#

1 of 3

7/31/2011 8:39 PM

Reset a Cisco Router to Factory Default Settings - Cisco Systems

http://www.cisco.com/en/US/products/sw/iosswrel/ps5187/products_tec...

If the show version command is issued again, the same line in the command output will have '(will be 0x2102 at next reload)' appended to the current register setting. 2. Erase the current start-up configuration on the router with the write erase command. 3. 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 System Configuration Dialog appears. --- System Configuration Dialog --Would you like to enter the initial configuration dialog? [yes/no]: The router is now reset to the original factory defaults.

Method 2
This method uses the config-register 0x2142 command in global configuration mode. 1. Enter the config-register 0x2142 command in global configuration mode. router(config)#config-register 0x2142 This causes the router to ignore the start-up configuration on the next reload. If a show version is issued, the last line in the command output will have '(will be 0x2142 at next reload)' appended to the current configuration register setting. 2. 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 System Configuration Dialog appears. 3. Enter no to the question "Would you like to enter initial configuration dialog?" 4. Change the configuration register setting to 0x2102 by entering the config-register 0x2102 command once in global configuration mode. 5. Issue the write memory command in enable mode to overwrite the existing start-up configuration with the current running configuration. 6. Reload the router with the reload command in enable mode. Once the router reloads, the System configuration Dialog appears. --- System Configuration Dialog --Would you like to enter the initial configuration dialog? [yes/no]: The router is now reset to the original factory defaults.

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-configUsed 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 versionUsed to verify that the configuration register is set to the default value of 0x2102.

Cisco Support Community - Featured Conversations

2 of 3

7/31/2011 8:39 PM

Reset a Cisco Router to Factory Default Settings - Cisco Systems

http://www.cisco.com/en/US/products/sw/iosswrel/ps5187/products_tec...

Cisco Support Community is a forum for you to ask and answer questions, share suggestions, and collaborate with your peers. Below are just some of the most recent and relevant conversations happening right now.

Want to see more? Join us by clicking here Reset a Cisco Router to Factory Default... szilardgyorgy 1 Reply 3 years, 2 weeks ago reset a CISCO Router bowmail 1 Reply 7 years, 9 months ago factory defaults in cisco 1720 router t.graning 2 Replies 8 years, 9 months ago Factory default pgallacher 1 Reply 5 years, 10 months ago Connecting Cisco 7940 IP Phone to... utawakevou 10 Replies 3 years, 7 months ago How to reset Cisco Phone 7905 to... b.davletshin 9 Replies 3 years, 9 months ago How to Factory reset C837 dmsccldmsccl 1 Reply 6 years, 8 months ago Resetting to Factory Default Settings kradjesh13 6 Replies 3 years, 7 months ago Start A New Discussion Subscribe

Related Information
Technical Support - Cisco Systems Updated: Aug 02, 2006 Document ID: 46509

Solutions For
Enterprise Small Business Service Provider Home

News & Alerts


News@Cisco Blogs Newsletters Field Notices Security Advisories

Support
Downloads Documentation

About Cisco
Investor Relations Corporate Social Responsibility Environmental Sustainability Human Network Career Opportunities

Communities
Collaboration Developer Network Learning Network Support Community

Industries Contacts
Contact Cisco Find a Partner

Offers
Special Offers Financing Options

Contacts | Feedback | Help | Site Map | Terms & Conditions | Privacy Statement | Cookie Policy | Trademarks

3 of 3

7/31/2011 8:39 PM

Vous aimerez peut-être aussi