Cisco Systems A9014CFD manual Copy the IOS Image from the Tftp server, Router# show file system

Models: A9014CFD

1 884
Download 884 pages 9.83 Kb
Page 112
Image 112

Chapter 6 Software Upgrade

Upgrading the Cisco IOS image

Step 2 Identify the file system to copy the image.

The file system type ‘flash’ or ‘disk’ is used to store the Cisco IOS image. The show file system command lists the file systems available on the router. The file system should have sufficient space to store the Cisco IOS image. You can use the show file system or the dir file_system command in order to find the free space.

Router# show file system

 

 

 

File Systems:

 

 

 

 

 

Size(b)

Free(b)

Type

Flags

Prefixes

 

 

262144

 

240157

nvram

rw

nvram:

 

-

 

-

opaque

rw

system:

 

-

 

-

opaque

rw

tmpsys:

 

-

 

-

opaque

rw

null:

 

-

 

-

opaque

ro

tar:

 

-

 

-

network

rw

tftp:

 

-

 

-

opaque

wo

syslog:

*

100401148

39104096

flash

rw

flash:

 

67108860

67108860

flash

rw

ramdisk:

 

-

 

-

network

rw

rcp:

 

-

 

-

network

rw

ftp:

 

-

 

-

network

rw

http:

 

-

 

-

network

rw

scp:

 

-

 

-

opaque

ro

cns:

Step 3 Prepare for the upgrade.

You should consider these items before you upgrade the Cisco IOS:

Store both the old Cisco IOS and the new Cisco IOS, if the router has sufficient memory. You can boot the router in the ROMMON mode and boot the old Cisco IOS, in case of boot failure with new Cisco IOS. This method saves time if you want to roll back the Cisco IOS.

Backup the configuration from the router because some of the Cisco IOS releases add default configurations. This newly added configuration may conflict with your current configuration. Compare the configuration of the router after the Cisco IOS upgrade with the configuration backed up before the upgrade. If there are differences in the configuration, you must ensure they do not affect your requirements.

 

 

 

Step 4

Verify that the TFTP server has IP connectivity to the router.

 

 

 

 

The TFTP server must have a network connection to the router and must be able to ping the IP address

 

 

 

 

of the router targeted for a TFTP software upgrade. In order to achieve this connection, the router

 

 

 

 

interface and the TFTP server must have an IP address in the same range or a default gateway configured.

 

 

 

 

Check the IP address of the TFTP server in order to verify this configuration.

 

 

 

Step 5

Copy the IOS Image from the TFTP server.

 

 

 

 

Before you copy the image, ensure that you have started the TFTP server software on your PC, and that

 

 

 

 

you have the file name mentioned in the TFTP server root directory. Cisco recommends that you keep a

 

 

 

 

backup of the router and access server configuration before you upgrade. The upgrade does not affect

 

 

 

 

the configuration, which is stored in nonvolatile RAM [NVRAM]. However, this situation might happen

 

 

 

 

if the right steps are not followed properly.

 

 

 

 

Router# copy tftp: flash:

 

 

 

 

Address or name of remote host []? 10.105.33.135

 

 

 

 

Source filename []? asr901-universalk9-mz.151-2.SNG

 

 

 

 

Destination filename [asr901-universalk9-mz.151-2.SNG]?

 

 

 

 

Accessing tftp://10.105.33.135/asr901-universalk9-mz.151-2.SNG...

 

 

 

 

Erase flash: before copying? [confirm]n

 

 

 

 

Loading asr901-universalk9-mz.151-2.SNG from 10.105.33.135 (via FastEthernet0/0):

 

 

 

 

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

 

 

 

 

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

 

 

 

 

 

[OK - 30551884 bytes]

 

 

 

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide

 

 

 

 

6-2

 

 

OL-23826-09

 

 

 

 

 

Page 112
Image 112
Cisco Systems A9014CFD manual Copy the IOS Image from the Tftp server, If the right steps are not followed properly