C-4
Cisco IAD2430 Series Integrated Access Devices Software Configuration Guide
OL-4306-03
Appendix C Using the ROM Monitor
Recovering Boot and System Images
Recovering Boot and System Images
If your router experiences difficulties and no longer contains a valid Cisco IOS software image in flash
memory, you can recover the Cisco IOS image using one of the following ROM monitor commands:
•
xmodem
—Use this if the computer attached to your console has a terminal emulator that has
xmodem capability.
•
tftpdnld -r
—Use this if you have a TFTP server directly connected to a Fast Ethernet port.
Using the xmodem Command
The
xmodem
command establishes a connection between a console and the router console port for
disaster recovery if both the boot and system images are erased from flash memory.
xmodem
[
filename
]—Establishes an xmodem connection between the console and the router. The
optional parameter argument
filename
specifies the source file containing the Cisco IOS image.
Other options include the following:
•
-c
—Use cyclic redundancy check (CRC-16).
•
-y
—Use Ymodem transfer protocol.
•
-r
—Copy the image to DRAM for launch.
•
-x
—Do not launch image on completion of download.
Note
The IAD2435 IAD ROMMON supports only
-c
and
-y
.
dir
device
:
Lists the files on the named device;
for example:
rommon 5 >
dir flash
:
Directory of flash:
2 1343152 -rw- c2430-advipservices-k9.mz
rommon 6 >
meminfo
Lists the main memory information; for example:
rommon 6 >
meminfo
:
Main memory size: 256 MB.
Available main memory starts at 0x80018000, size 262048 KB
IO (packet) memory size: 5 percent of main memory
NVRAM size: 256 KB
boot commands
For more information about the ROM monitor boot commands, see the
Cisco IOS
Configuration Fundamentals and Network Management Guide
.
b
Boots the first image in flash memory.
b
flash:
[
filename
] Attempts to boot the image directly from the first partition of flash memory. If you
do not enter a filename, this command will boot this first image in flash memory.
Table C-1
Commonly Used ROM Monitor Commands (continued)
Command
Description