After Cisco deletes iOS, it resumes and reinjects IOS

Source: Internet
Author: User

Flash is cleared and can only enter the rommon mode. The only way to refill the IOS image file is to download the required IOS file on the Cisco official website and www.net130.com:
Software preparation:
* First, find the IOS file that matches the model (note that the memory size of the sub-host matches the size );
* Go to the next Cisco TFTP server;
Hardware preparation:
* In addition to a control line, a crossover line is required to connect the router and your control computer. (Note: Cisco router generally stipulates that interfaces ethernet0/0 must be used for iOS filling, that is, the first Ethernet port );
Note:
* The IOS file to be filled must be placed in the root directory of the Cisco TFTP server. The Cisco TFTP server will automatically find the IOS image file you need to load;

Log on to the vro through the concle port and set the TFTP Environment

Rommon 1> ip_address = 192.168.1.2 // the IP address of the first Ethernet interface of the router by default.

Rommon 2> ip_subnet_mask = 255.255.255.0 // set the subnet mask of the router Ethernet Interface

Rommon 3> default_gateway = 192.168.1.1 // set the gateway. Otherwise, TFTP fails.

Rommon 4> tftp_server = 192.168.1.104 // set the notebook IP address, that is, the IP address of the TFTP Server

Rommon 5> tftp_file = c2600-i-mz.123-6c.bin // set the IOS file name to be downloaded by the router

Rommon 6> set // After setting the TFTP environment, you can run the SET command to check the environment again or skip

PS1 = rommon! >

Ret_2_rts =

Ip_address = 192.168.1.2

Ip_subnet_mask = 255.255.255.0

Default_gateway = 192.168.1.1

Tftp_server = 192.168.1.104

Tftp_file = c2600-i-mz.123-6c.bin

Rommon 7> tftpdnld // after the verification is correct, start TFTP

Ip_address: 192.168.1.2
Ip_subnet_mask: 255.255.255.0
Default_gateway: 192.168.1.1
Tftp_server: 192.168.1.104
Tftp_file: c2600-i-mz.123-6c.bin

Invoke this command for disaster recovery only.
Warning: all existing # In all partitions on flash will be lost!
Do you wish to continue? Y/N: [N]: Y

Refreshing ing c2600-c-mz.121-9.bin from 192.168.1.104

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!
File completion tion completed.
Copying file c2600-c-mz.121-9.bin to flash.
Erasing flash at 0x607c0000
Program flash location 0x60120000

Rommon 8> confreg // After downloading iOS, you must set the register value.

Configuration Summary
Enabled are:
Load Rom after netboot fails
Console BAO: 9600
Boot: Image specified by the boot system commands
Or default to: cisco2-C2600

do you wish to change the configuration? Y/n [N]: Y // select "Y"
enable "diagnostic mode "? Y/n [N]: n
enable "Use Net in IP bcast address "? Y/n [N]: n
disable "load Rom after netboot fails "? Y/n [N]: n
enable "use all zero broadcast "? Y/n [N]: n
enable "break/abort has effect "? Y/n [N]: n
enable "ignore system config Info "? Y/n [N]: n
change console baud rate? Y/n [N]: n
change the boot characteristics? Y/n [N]: Y // select "Y"
enter to boot:
0 = Rom Monitor
1 = the boot helper image
2-15 = boot system
[2]: 2 // select "2"

Configuration Summary
Enabled are:
Load Rom after netboot fails
Console BAO: 9600
Boot: Image specified by the boot system commands
Or default to: cisco2-C2600

Do you wish to change the configuration? Y/n [N]: N

Rommon 8> Reset // restart the router

After restart, the system returns to normal.

 

If you cannot determine the IOS version, press Ctrl + break to enter rommon and enter the reset command before the vro restarts. You can see the IOS version file required by the current vro.

This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/yangfree990/archive/2010/06/10/5661937.aspx

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.