Vous êtes sur la page 1sur 6

Xmodem Console Download Procedure Using ROMmon on 2600 Router

Router IOS Disaster Recovery (Router 2600 series) (By Pejman Karami on Sunday October 2010)

This procedure is used when you have installed a wrong IOS on the device (2600) and none of the
interfaces are accessible to be connected to the TFTP server for the purpose of downloading the correct
image again. This procedure also can be used whenever you have a corrupted image which cause the
Router enters ROMmon mode.

Step 1: you need to be in ROMmon mode. If the Router is already in ROMmon mode move to Second
Step, otherwise do either of the following:

- Reload the Machine and press the Ctrl-Break (on HyperTerminal) or Alt-B on (TeraTerm)
within the first 60 second of the router reboot to break the IOS boot up process.
- Alternatively From Global Configuration mode enter the following commands, and verify it
by show command. This command is saved automatically but need rebooting to take effect.
This command will prevent the router from loading the IOS and force it to ROMmon mode.
Router(config)#config-register 2100
Router#show version
Configuration register is 0x2101 (will be 0x2100 at next reload)

Step 2: you should now see the rommon 1 > on your screen. Because you have no connection to the
TFTP server and the only connection is through Console port and this port has a default speed of 9600
bit/s you must change the speed of the port and your Console Terminal Emulator the the Maximum
which is allowed to speed up the process. This may still take a couple of hours for the router to
download the image via Console port. This process is called Xmodem.

In this step you are going to change the speed of the console baud from 9600 to the maximum allowed
(115200)

rommon 1 > confreg

Configuration Summary
enabled are:
load rom after netboot fails
console baud: 9600
boot: the ROM Monitor

do you wish to change the configuration? y/n [n]: y


enable "diagnostic mode"? y/n [n]:
enable "use net in IP bcast address"? y/n [n]:
disable "load rom after netboot fails"? y/n [n]:
enable "use all zero broadcast"? y/n [n]:
enable "break/abort has effect"? y/n [n]:
enable "ignore system config info"? y/n [n]:
change console baud rate? y/n [n]: y
enter rate: 0 = 9600, 1 = 4800, 2 = 1200, 3 = 2400
4 = 19200, 5 = 38400, 6 = 57600, 7 = 115200 [0]: 7
change the boot characteristics? y/n [n]:

Configuration Summary
enabled are:
load rom after netboot fails
console baud: 115200
boot: the ROM Monitor

do you wish to change the configuration? y/n [n]:

You must reset or power cycle for new config to take effect
rommon 3 > reset

Third Step: after entering reset above. You’ll not see any outcome on the screen because your terminal
emulator has the 9600 Console Baud and your router Console port is operating on 115200. All you need
to do is change the Console Baud rate of your Terminal.

In TeraTerm Click : Setup > Serial Port then


In Hyper Terminal

Step 3: after you get connected to your Console port with the above settings you’ll see rommon 1 >.
Follow the instruction bellow to allow the router download the new image through the Console line.
Note: Although you are using the maximum Baud Rate but this may take a couple of hours, so you must
be patient.

rommon 1 > xmodem -c c2600-entbasek9-mz.124-9.t1.bin

Do not start the sending program yet...


File size Checksum File name
12137128 bytes (0xb932a8) 0x6129 c2600-js56i-mz.121-5.t10.bin

WARNING: All existing data in bootflash will be lost!


Invoke this application only for disaster recovery.
Do you wish to continue? y/n [n]: y
Ready to receive file c2600-js56i-mz.121-5.t10.bin ...

After you see the above line indicating that the Terminal Emulator is ready to copy the file to the router,
you’ll have to use indicate the location of the new image on your PC. Follow the next step.

Step 4:

On TeraTem
File > Send File….. then chose the IOS of your choice (make sure the IOS is compatible with your
Platform)
You’ll see the screen as bellow

On Hyper Terminal

Transfer > Send file… then choose the IOS of your choice.
After pressing send you’ll see a screen showing you the time left for this process.

Step 5: After the process has finished and the new IOS been loaded you’ll have to do the following
- Reset the Console Baud rate back to 9600
- If you’ve changed the Configuration Register to 2100 change it back to 2102
- Relaod the switch

Router#conf t
Router(config)#config-register 2102
Router(config)#line con 0
Router(config-line)#speed 9600
Router#reload

System configuration has been modified. Save? [yes/no]: y


Proceed with reload? [confirm]

Good Luck!

Vous aimerez peut-être aussi