Cisco 1721 Router: Clearing the Config
This post details the process for removing the current configuration from a Cisco 1721 router. The end result is a 'vanilla' router configuration.
- connect the router to a com port on the pc/laptop using the console cable
- open Windows HyperTerminal (or other) and connect to COM1
- enter ROMMON mode: power on the router and press the CTRL+BREAK keys within 5 seconds of the router booting up - this will display the following prompt: rommon 1>
- enter: confreg 0x2142 - the following message is dispayed: "You must reset or power cycle for new config to take effect"
- enter "i" or "reset" - the router will reboot and load the IOS but without loading the startup-config
- eventually, the following prompt appears: "Would you like to enter the initial configuration dialog?" enter "n" for "no" and press Return when prompted. The following prompt is displayed: Router>
- enter privilege exec mode: type "enable" at the prompt (note: no password required!)
the following are the commands to enter at the prompts (the correct prompt is shown in each case):- - Router#write erase
- enter (erase takes a few seconds...)
- Router#conf t
- Router(config)#config-register 0x2102 (resets the config register so that the next time the router boots, it will load the startup-config)
- CTRL+Z
- Router#write mem
- Router#copy ru st
- Router#reload (reboots the router)
- Router>enable
- Router#sh ru (shows the current running config)
- Router#sh ver (shows the router version information)
References:
RouterGod: Cisco Psychic TAC Hotline
No comments:
Post a Comment