Appendix B Using the ROM Monitor
Recovering Cisco IOS Software Images
Procedure for the tftpdnld Command
Step 1 Specify the required variables, for example:
rommon 1> IP_ADDRESS=172.15.19.11 rommon 2> IP_SUBNET_MASK=255.255.255.0 rommon 3> DEFAULT_GATEWAY=172.16.19.1 rommon 4> TFTP_SERVER=172.15.20.10 rommon 5> TFTP_FILE=/tftpboot/c2600-i-mz
The syntax for specifying the variables is:
VARIABLE_NAME=value
The variables that you must specify include the following:
•IP_ADDRESS—IP address for the router you are using.
•IP_SUBNET_MASK—Subnet mask for the router you are using.
•DEFAULT_GATEWAY—Default gateway for the router you are using (not required if the TFTP server is in the same subnet as the router).
•TFTP_SERVER—IP address of the server from which you want to download the image file.
•TFTP_FILE—Name of the file that you want to download.
The following tftpdnld command variables are optional:
•TFTP_VERBOSE—Print setting. The default is 1.
–0=quiet—After you enter the tftpdnld command, the prompt
Do you wish to continue? y/n:
is the only information that appears until the command completes successfully or fails.
–1=progress—Displays the state of the required tftpdnld command variables. Also displays progress characters to indicate successful and lost packet transmissions.
–2=verbose—Displays all progress print setting messages, along with error information. The information provided by this print setting may be useful when debugging interface link and configuration problems that may prevent connecting to the TFTP server.
•TFTP_RETRY_COUNT—Number of times from 1 to 65535 that the ROM monitor will retry address resolution protocol (ARP) and acknowledge (ACK). The default is 7 retries.
•TFTP_TIMEOUT—Overall timeout of the download operation in seconds. The range is from
1to 65535 seconds. The default is 7200 seconds.
•TFTP_CHECKSUM—Performs a checksum test on the image. 0=checksum off, 1=checksum on. The default is 1.
•FE_SPEED_MODE—Sets the Fast Ethernet speed and duplex mode. 0=10 Mbps half-duplex mode, 1=10 Mbps full-duplex mode, 2=100 Mbps half-duplex mode, 3=100 Mbps full-duplex mode, and 4=auto-negotiation. The default is 4.
Note Specify the FE_SPEED_MODE variable only for routers with a Fast Ethernet network interface.
•TR_SPEED_MODE—Sets the Token Ring speed and duplex mode. 0=4 Mbps half-duplex mode, 1=4 Mbps full-duplex mode, 2=16 Mbps half-duplex mode, and 3=16 Mbps full-duplex mode. The default is 2.
Cisco 2600 Series Routers Hardware Installation Guide