[Lab environment]
Cisco Packet Tracer 5.3.2
[PURPOSE]
Simulate IOS damage on a Cisco device and practice how to fix IOS in ROM Monitor mode
[Experiment topology]
Lab procedure]
1. Connect the device according to the topology:
Cisco devices do not matter whether they use vswitches or vrouters. In this example, 2811 vrouters are used.
On the Server, enable the TFTP Server. There is a Cisco ios image file on it. In the real environment, you can use a PC. After installing the tftpd software, you can become a TFTP Server.
The Cisco device must use the first Ethernet interface to connect to the TFTP server.
2811 vro, f0/0 interface, IP: 1.1.1.1/24
Server, Ethernet interface, IP: 1.1.1.250/24
2. Use the Console line to connect to the vro
3. Turn off the power of the router, turn on the power of the router, and press Ctrl + break within 30 s to enter ROM Monitor MODE (the switch uses the MODE key to enter, which has been written in previous articles)
4. The subsequent commands and responses are as follows. The command entered from top to bottom indicates:
Configure the vro IP address (use the first Ethernet interface, note that)
Configure vro Subnet Mask
Configure the IP address of the TFTP Server
Configure the new IOS image file name, which is located in the TFTP Server
Configure the default gateway, which is usually meaningless but must be configured
Start the tftp program to download the new IOS installation from the TFTP Server
Confirm execution
Reload IOS
Self decompressing the image:
#############
Monitor: command "boot" aborted due to user interrupt
Rommon 1> IP_ADDRESS = 1.1.1.1
Rommon 2> IP_SUBNET_MASK = 255.255.255.0
Rommon 3> TFTP_SERVER = 1.1.1.250
Rommon 4> TFTP_FILE = c2800nm-ipbase-mz.123-14.T7.bin
Rommon 5> DEFAULT_GATEWAY = 1.1.1.254
Rommon 6> tftpdnld
IP_ADDRESS: 1.1.1.1
IP_SUBNET_MASK: 255.255.255.0
DEFAULT_GATEWAY: 1.1.1.254
TFTP_SERVER: 1.1.1.250
TFTP_FILE: c2800nm-ipbase-mz.123-14.T7.bin
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
Refreshing ing c2800nm-ipbase-mz.123-14.T7.bin from 1.1.1.250 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
File completion tion completed.
Copying file c2800nm-ipbase-mz.123-14.T7.bin to flash.
Rommon 7> boot