Cisco routers Routing Software Installation and Upgrade (5)



Upgrade test

Step 1: Create a console session to the router

For details, see "Creating a console session to the router."

Note: Connect to the router via the console port, if you see the ">" or "rommon>" prompt, your router is in ROM Monitor (ROMmon) mode under.If the router shows "router (boot)>" prompt, the router is in boot mode under.The handling of the steps in both cases, please see the "startup issues."

Step 2: test flash memory card (PCMCIA Slot) is the number of remaining space

At this point, you need to test whether the flash memory card has enough space to copy the new image.If the memory space, you need to delete some files to get plenty of space.In some cases, if a large mirror, you may need to remove the flash card in the current mirror.

To determine the value and display space in the slot0: or slot1: the current file, issue the dir (device:) command.

3600 # dir slot1:

Directory of slot1: /

1-rw-2779832 c3640-i-mz.113-11c.bin

2-rw-3748760 c3640-i-mz.120-22.bin

Test name and file size are correct.

If you find the memory space, you can delete some files.Using the delete (device:) [filename] command to delete files.

3600 # delete slot1:

Delete filename []? C3640-i-mz.113-11c.bin

Delete slot1: c3640-i-mz.113-11c.bin? [Confirm] y

Note: If no valid image in flash, do not reload the router reboot or shutdown will cause the router, or boot in rommon mode.

Step 3: Test whether the TFTP server IP connection to the router

TFTP server and must have a network connection between the router and must be able to ping the TFTP software upgrade target router IP address.To achieve this, the router interface and TFTP server must have:

The same range of IP addresses, or

The default gateway is configured

If you want to test, check the TFTP server's IP address.

For details, please refer to the "OK IP address."

Step 4: TFTP server by copying the new image into flash

Now that you have IP connectivity, and can act as TFTP server computers and routers, ping, you can copy the Cisco IOS software image to the correct slot.

Note: copy, make sure you have turned on the PC, software on the TFTP server and TFTP server root directory with the file name mentioned.We recommend that you keep before upgrading router / access server configuration backup.Upgrade itself does not affect the configuration (stored in nonvolatile RAM - NVRAM in.)However, if the procedure is not performed correctly, you may have an impact.

For RCP applications, will appear every TFTP are replaced with RCP.For example, using copy rcp (device:) command instead of copy tftp (device:) command.

If necessary, you can copy the image from one device to another device.

3600 # copy tftp: slot1:

Address or name of remote host []? 171.68.173.10

Source filename []? C3640-i-mz.122-7b.bin

Destination filename 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32

Accessing tftp: / / 171.68.173.10/c3640-i-mz.122-7b.bin ...

Erase slot1: before copying? [Confirm] n! --- You are in this provision "n", because there is not enough available memory.

Loading c3640-i-mz.122-7b.bin from 171.68.173.10 (via Ethernet1 / 0):

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!

[OK - 5996844/11993088 bytes]

Verifying checksum ... OK (0x13F0)

5996844 bytes copied in 67.708 secs (89505 bytes / sec)

3600 #