Networking-Blog

My WordPress Blog

Cisco Upgrade Rommon Image

Upgrading the ROMMON Image from ROMMON Mode

Complete these steps to upgrade the ROMMON image from ROMMON mode.

Step 1 Download the ROMMON image C820_RM_ALT.srec.122-4r.XM2 from CCO, and place it on your TFTP server.

Step 2 Place the router in ROMMON mode by sending a telnet break command during the router reboot sequence. The following prompt will be displayed, indicating entry into ROMMON mode:

rommon>

Step 3 In ROMMON mode, set the following parameters by typing the names followed by an equals sign as shown, and then typing a value for the parameter.

IP_ADDRESS=

IP_SUBNET_MASK=

DEFAULT_GATEWAY=

TFTP_SERVER=

TFTP_FILE=

Table 1 describes the type of value to provide for each parameter.

Parameter Value
IP_ADDRESS= IP address of the router
IP_SUBNET_MASK= Subnet mask of the router
DEFAULT_GATEWAY= IP address of the router’s default gateway
TFTP_SERVER= IP address of the TFTP server on which the ROMMON image is located
TFTP_FILE= The path and filename of the ROMMON image

Step 4 Verify the parameter settings by entering the set command. Correct any mistakes by reentering the parameter and value.

rommon>set

TFTP_CHECKSUM=0

IP_SUBNET_MASK=255.255.255.0

DEFAULT_GATEWAY=1.6.0.1

TFTP_SERVER=223.255.254.254

IP_ADDRESS=1.6.97.20

TFTP_FILE=C820_RM_ALT.srec.122-4r.XM2

Step 5 Upgrade the ROMMON image by entering the tftpdnld -u command. Sample output is shown below.

rommon>tftpdnld -u

IP_ADDRESS: 1.6.97.20

IP_SUBNET_MASK: 255.255.255.0

DEFAULT_GATEWAY: 1.6.0.1

TFTP_SERVER: 223.255.254.254

TFTP_FILE: C820_RM_ALT.srec.122-4r.XM2

WARNING: alternate copy of rommon exists, filename: C820_RM_ALT.srec all existing data in
the alternate copy of rommon will be lost.

Do you wish to continue? y/n:  [n]:

Step 6 Enter y to start the download. A series of exclamation points (!!!!!!) indicates that the image is downloading successfully. The router will reboot when the download is complete.

Note You may need to reset the router while in ROMMON mode by entering the reset command before entering the tftpdnld command. The router will prompt you to do this if needed. If prompted to reset the router, you must reset the router and then follow Step 2 through Step 6 to update the ROMMON image.

Updating the ROMMON Image in IOS EXEC Mode

Complete these steps to upgrade the ROMMON image from IOS EXEC mode.

Step 1 Download the ROMMON image C820_RM_ALT.srec.122-4r.XM2 from CCO and place it on your TFTP server.

Step 2 In IOS EXEC mode, save the current configuration by entering the command copy running-config startup-config.

Step 3 Enter copy tftp: rommon:, and answer the prompts as shown in the following example:

820-2#copy tftp: rommon:

Address or name of remote host []? 223.255.254.253

Source filename []? C820_RM_ALT.srec.122-4r.XM2

Destination filename [C820_RM_ALT.srec.122-4r.XM2]?

Loading C820_RM_ALT.srec.122-4r.XM2 from 223.255.254.253 (via Ethernet0): !

WARNING…

Do not attempt ROMMON upgrades unless you know what you are doing.

Writing to ROMMON must note be interrupted.

Do not reset the router during this operation.

Do what you can to ensure power to the router is not interrupted.

The router will reload after ROMMON upgrade is successfully completed.

Do you want to continue?[confirm]

Press Enter to continue. The router will begin downloading the ROMMON image. Successful download is indicated by a series of exclamation marks (!!!!!!). The router will automatically reboot.

Cisco IOS Recovery

Set PC ip_ddress:

pc: ip address : 192.168.0.2
subnet mask: 255.255.255.0
default gateway: 192.168.0.1

And then Power on the router:

hit Ctrl + Break key together. And the router will appear:

rommon 1>
Then type the following commands:

format              Format a filesystem-format <filesystem>

format flash:

IP_ADDRESS=192.168.0.1
IP_SUBNET_MASK=255.255.255.0
DEFAULT_GATEWAY=192.168.0.1
TFTP_SERVER=192.168.0.2
TFTP_FILE=c850-advsecurityk9-mz.124-6.T5.bin
TFTP_CHECKSUM=1

rommon1 >tftpdnld
When you see “!!!!!!!!!!!!!!!!!!!” running, you’re successful and wait some minutes until progress finish.

fsck                Check filesystem consistency-fsck <filesystem>

fsck flash:

If you have the output of a show stacks or show tech-support command from your Cisco device, you can use
the Output Interpreter to display potential issues and fixes.

dir flash:

set = display the monitor variables

rommon 16 > set
PS1=rommon ! >
TFTP_TIMEOUT=800000
FE_SPEED_MODE=4
TFTP_RETRY_COUNT=20
BSI=0
RANDOM_NUM=1540763391
CRASHINFO=flash:crashinfo_20020301-000015
ROM_PERSISTENT_UTC=1014940815
RET_2_RTS=
RET_2_RCALTS=
%