Disaster+Recovery

The newest versions of ROMMON (present on the 1700 and 1800 series routers) also include a TFTP client - allowing you to upload an IOS image in a much faster manner than XMODEM (when you have a TFTP server available). This makes disaster recovery MUCH faster. (Uploading a 15Megabyte IOS image via XMODEM will take some time).

To use tftpdnld, you simply set the appropriate environment variables (simply type the below, without <>):
 * IP_ADDRESS**=
 * IP_SUBNET_MASK**=
 * DEFAULT_GATEWAY**=
 * TFTP_SERVER**=
 * TFTP_FILE**=

You can double check your settings by running "set": rommon 3 > **set** IP_ADDRESS=172.18.16.76 IP_SUBNET_MASK=255.255.255.192 DEFAULT_GATEWAY=172.18.16.65 TFTP_SERVER=172.18.16.2 TFTP_FILE=quake/rel22_Jan_16/c2600-i-mz

After ensuring your settings are correct, execute "**tftpdnld**"

Invoke this command for disaster recovery only. WARNING: all existing data in all partitions on flash will be lost! Do you wish to continue? y/n: [n]: **y** Receiving c2600-is-mz.113-2.0.3.Q from 171.69.1.129 !!!!!.!!!!!!!!!!!!!!!!!!!.!! File reception completed. Copying file c2600-is-mz.113-2.0.3.Q to flash. Erasing flash at 0x607c0000 program flash location 0x60440000 rommon 22 > More information on this form of disaster recovery is available at []


 * ALSO OF NOTE:**

Some routers (2600's as an example), will bounce the ethernet interface when tftpdnld is executed. If connected to a switchport that does NOT have portfast enabled, the STP listening phase will cause the TFTP download to timeout. The solution is easy - enable portfast on the connected switch port.