C-5
Cisco IAD2430 Series Integrated Access Devices Software Configuration Guide
OL-4306-03
Appendix C Using the ROM Monitor
Recovering Boot and System Images
Using the tftpdnld -r Command
The
tftpdnld -r
command downloads a Cisco IOS software image from a remote server into flash
memory using TFTP.
tftpdnld -r
—Begins the TFTP copy command.
The following variables are required:
•
IP_ADDRESS—The IP address for the router you are using.
•
IP_SUBNET_MASK—The subnet mask for the router you are using.
•
DEFAULT_GATEWAY—The default gateway for the router you are using.
•
TFTP_SERVER—The IP address of the server from which you want to download the image file.
•
TFTP_FILE—The name of the file that you want to download.
The following variables are optional:
•
TFTP_VERBOSE—Print setting. 0=quiet, 1=progress, 2=verbose. The default is 1.
•
TFTP_RETRY_COUNT—Retry count for ARP and TFTP. The default is 7.
•
TFTP_TIMEOUT—Overall timeout of the download operation in seconds. The default is 2400
seconds.
•
TFTP_CHECKSUM—Performs a checksum test on the image. 0=no, 1=yes. The default is 1.
•
FE_PORT—Selects the FE Port for
tftpdnld
download. 0=FE 0,1=FE 1. If FE_PORT variable is
not mentioned then FE 0 will be used as default.
The syntax for specifying the variables is:
VARIABLE_NAME=value
After you specify the variables, you must reenter the
tftpdnld -r
command. For example:
rommon 2 > IP_ADDRESS=
172.15.19.11
rommon 3 > IP_SUBNET_MASK=
255.255.255.0
rommon 4 > DEFAULT_GATEWAY=
172.15.19.1
rommon 5 > TFTP_SERVER=
172.15.20.10
rommon 6 > TFTP_FILE=
/tftpboot/c2430-i-mz
rommon 7 > TFTP_VERBOSE=
1
rommon 8 >
tftpdnld -r
IP_ADDRESS=172.15.19.11
IP_SUBNET_MASK=255.255.255.0
DEFAULT_GATEWAY=172.15.19.1
TFTP_SERVER=172.15.20.10
TFTP_FILE=/tftpboot/2430-i-mz
TFTP_VERBOSE=1
Invoke this command for disaster recovery only.
Do you wish to continue? y/n: [n]:
Enter
y
to begin downloading the Cisco IOS software image. When the process is complete, the ROM
monitor mode prompt appears on your screen.