Sunday, May 1, 2011

Recover ios in a cisco router

Recover IOS using tftpdnld from ROMMON

In Cisco 2600/2800/3800 Series Router we can recover IOS using Trivial File Transfer Protocol (TFTP) over ethernet interface using the ROMmon tftpdnld command.
tfptdnld is more faster rather than recovering IOS via Xmodem.



rommon 1 > IP_ADDRESS=10.0.0.1
//The IP address for this unit
rommon 2 > IP_SUBNET_MASK=255.255.255.0 //The subnet mask for this unit
rommon 3 > DEFAULT_GATEWAY=10.0.0.13 //The default gateway for this unit
rommon 4 > TFTP_SERVER=10.0.0.13 //The IP address of the server to fetch from
rommon 5 > TFTP_FILE=c3845-adventerprisek9-mz.124-21.bin //The ios image file
rommon 6 > tftpdnld //this is the command

WARNING: all existing data in all partitions on flash will be lost!
Do you wish to continue? y/n: [n]: y

No comments:

Post a Comment