Before reading further, the real answer, from Cisco, is at: http://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_tech_note09186a00801746e6.shtml
The following sequence will work on the 2000, 2500, 2600, 3000, and 4000 series of Cisco routers. With some limitations, you could use it on other Cisco models. You will need to pay very close attention to the hex pattern used in the config-register command!
Also note that password recovery on a Cisco Catalyst switch is entirely different!
Yes, Cisco commands can be abbreviated. My personal taste is to type enough of them to be unique, then use the tab key to cause the IOS to complete the command. This gives me feedback that I'm really doing what I think that I'm doing, and it should make this explanation a bit more clear. Also remember that you can always press "?" while typing a command, and the IOS will show you the possible choices.
When I show router commands, the router prompt will be non-bold, and what you type will be bold. You can get away with pressing less keys by using the tab key.
The following assumes that you have a TFTP server holding a valid configuration file on a LAN to which the router can be connected. If necessary, use a cross-over cable between a router Ethernet port and a PC running Linux.
> o
> o/r 0x2142 > initialize
Router> enable Router# configure terminal Router(config)# interface ethernet 0 Router(config-if)# ip address 1.2.3.4 255.255.255.0 Router(config-if)# no shutdown Router(config-if)# exit Router(config)# config-register 0x2102 Router(config)# exit Router#
Router# copy tftp startup-config
Router# copy tftp://1.2.3.24/configfilenamehere startup-config
Router# reload
There are other ways of configuring the router once you have it re-initialized:
I have no hope of creating a "just-enough" guide to the Cisco IOS commands here! You can find references at http://www.cisco.com/, and in particular: http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/index.htm (or whatever is the current version by the time you see this). Or, check out the Cisco ConfigMaker tool.
| Home Page | Site Map | Public Key |
|
|
|
|
|
|
| © Bob Cromwell Jul 2008. Created with /bin/vi, hosted on OpenBSD with Apache. Root password available here | ||||