Restoring and Upgrading the Cisco Router IOS

To download the file from a TFTP server to flash memory by using copy tftp flash command, you need the IP address of TFTP server and name of the file which you want to downloading, check whether the file which you want to insert in flash memory is located in TFTP directory on the host. Because the TFTP asks the location and of the file and if the and to be restored is not in the default directory of the TFTP server, this won't works.

When you enter copy tftp flash command, you will see the copying process like this

Router#copy tftp flash
Address or name of remote host []? 192.168.1.12
Source filename []? c2800nm-advipservicesk9-mz.124-15.T1.bin
Destination filename [c2800nm-advipservicesk9-mz.124-15.T1.bin]?
Accessing tftp://192.168.1.12/c2800nm-advipservicesk9-mz.124-15.T1.bin...
Loading c2800nm-advipservicesk9-mz.124-15.T1.bin from 192.168.1.12: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 50938004 bytes]
50938004 bytes copied in 10.752 secs (343504 bytes/sec)

After entering yes three times for erasing flash memory, the router has to be rebooted to load IOS from ROM memory. After completing this, the contents of the flash memory will be erased and file from TFTP server is copied to flash memory.

The row of e characters shows the contents of flash memory being erased. Each exclamation point (!) indicated that one UDP segment has been successfully transferred.

Some other commands used in backing and restoring the router IOS

Router# copy run start
to copy the running configuration to NVRAM

Router# copy start run
to copy configuration from NVRAM to running configuration

Router# copy start tftp
to copy the startup configuration of router to tftp server

Router# copy run tftp
to copy the running configuration of router to tftp server

Router# copy tftp run
to copy configuration from tftp server to NVRAM 

0 comments:

Post a Comment