This article introduces the configuration and operation process of IOS upgrade against Cisco routers in two ways.
Not long ago, when a friend upgraded CISCO2610 with a voice mode, the memory flash of the router was 8 MB, and the IOS software was more than 7 mb. After the upgrade, the router could not start normally. Go to the rommon 1 & gt; status after startup to request help. As I have been engaged in computer network management for a long time, I have accumulated some experience in the long-term maintenance and management practices of CISCO routers. This article summarizes several methods for upgrading the IOS image of the CISCO router for the reference of network enthusiasts and colleagues. Before introducing the CISCO router IOS upgrade method, it is necessary to briefly introduce the knowledge about the storage of the Cisco router. Similar to a computer, a vro also has memory and an operating system. In a Cisco router, its Operating System is called Internetwork Operating System), which is often referred to as IOS. The main memory of the router is:
ROM: read-only memory contains a copy of the IOS in use by the router;
RAM: IOS divides random access memory into shared and primary storage. It is mainly used to store the running router configuration and the IOS data structure related to the routing protocol;
FLASH): used to store IOS software image files. FLASH memory can erase the memory, which can be overwritten with the new IOS version. IOS upgrades are mainly used to replace IOS image files in FLASH memory.
NVRAM: non-volatile random access to memory, used to store system configuration files.
IOS update method 1
It is easy to upgrade the IOS of a CISCO router that can be started normally. The procedure is as follows:
1. Find a TFTP server software, such as CISCO TFTPServer or 3Cserver of 3COM. We recommend using 3 Cserver when upgrading large IOS image files ), install it on a computer, copy the IOS image file to the relevant directory, for example, D: \), and run the TFTP server software, set the Root directory to the directory where the IOS image file is copied, for example, D :\). Assume that the IP address of the computer is 10.32.10.1;
2. Connect the console port of the vro。 to COM1 of the PC. Use the super terminal software of the PC to access the vro and set the IP address of the vro to 10.32.10.32 and the IP address of the computer to the same network segment ). We recommend that you back up the original IOS files before performing the IOS upgrade to prevent problems with the IOS files to be upgraded from being unavailable;
QUOTE: Router # dir flash: view the current IOS image file name. You can also use Router # Show version)
Directory of flash :/
1-rw-5998292C2600-I-MZ.122-11.BIN
8388608 bytes total 2390252 bytes free)
Router # copy flash tftp to back up IOS files)
Source filename []? C2600-i-mz.122-11.bin
Address or name of remote host []? 10.32.10.1TFTP server address)
Destination filename [c2600-i-mz.122-11.bin]?
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!
5998292 bytes copied in 324.071 secs 18509 bytes/sec)
Router #3. Upgrade the vroios to IOS;
QUOTE: Router # copy tftp flash
Address or name of remote host []? 10.32.10.1 TFTP server address)
Source filename []? C2600-i-mz.122-11.bin new IOS image file name to be upgraded)
Destination filename [c2600-i-mz.122-11.bin]?
Do you want to over write? [Confirm]
Accessing tftp: // 10.32.10.1/c2600-i-mz.122-11.bin ......
Erase flash: before copying? [Confirm]
Erasing the flash filesystem will remove all files! Continue? [Confirm]
Erasing device ...... Eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee ...... Erasedee
Erase of flash: complete
Loading c2600-i-mz.122-11.bin from 10.32.10.1 via Ethernet0/0 ):!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK-5998292 bytes]
Verifying checksum ...... OK 0xA0C0)
5998292 bytes copied in 318.282 secs 18846 bytes/sec)
Router #