Hurricane Electric
Of course this will work, I've done it hundresds of times.....


Cisco IOS Upgrade Procedures

Make the preperations for the tftp transfer/backup

touch [image name]
chmod 777 [imagename]

The file must exist otherwise it won't work. It must be writable by the user nobody

paix.he.net#sh flash
-#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name
1   .D FFFFFFFF BA5EA7   294528  17   2573480  Dec 17 1996 18:01:49 c7200-is-mz.112-2
2   .. FFFFFFFF DB11E42  63D4FC  23   3837780  Mar 26 1997 16:58:49 c7200-j-mz.111-9.CA.bin


1583876 bytes available (6411516 bytes used)

Backup the existing IOS image

paix.he.net#copy flash tftp
Enter source file name: c7200-j-mz.111-9.CA.bin
Enter destination file name [c7200-j-mz.111-9.CA.bin]: 
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
Address or name of remote host []?tftp.host.name.com 
!

Delete the old IOS Image

paix.he.net#delete c7200-j-mz.111-9.CA.bin
paix.he.net#squeeze slot0:
All deleted files will be removed, proceed? [confirm]
Squeeze operation may take a while, proceed? [confirm]
ebESESESESESESESESESESESESESESESESESESESESESESESESESESESESESESESZ
paix.he.net#

upload the new IOS image

paix.he.net#copy tftp flash
[Answer questions as above]

Configure the router to boot from the new image

paix.he.net#conf t 
paix.he.net(config)# no boot system flash slot0:[old ios version filename]
paix.he.net(config)# boot system flash slot0:[new ios version filename]
[COMMENT: By Omitting the IOS filename, the default behavior of the router is to boot the first file in the flash mem. If this isn't a system image, the system will not boot and will hang (bad). Always make sure when you upgrade one of the routers to keep the previous (read "known working") IOS image but specify the new filename in the "boot system flash iosfilev9.bin"]

We don't boot microcode stuff from flash, so we don't need the 2 following lines: (kept for completeness)

paix.he.net(config)# no microcode sp flash sp1-2
paix.he.net(config)# no microcode fip flash fip1-1

paix.he.net(config)# end
paix.he.net# write memory  
[COMMENT: A simple write will accomplish the same thing]
or
paix.he.net# copy running-config startup-config


[ok] 
paix.he.net# 

BEFORE DOING A 'reload':

Issue a 'write terminal' or a 'show conf' to verify that your entries did indeed make it into the config file.

paix.he.net# sh conf

paix.he.net# reload

When the router comes back up (30-45 seconds), log in and check the IOS version number

paix.he.net>sh ver

Cisco Internetwork Operating System Software 
IOS (tm) 7200 Software (C7200-J-M), Version 11.1(12)CA1, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) 
Synced to mainline version: 11.1(12)
Copyright (c) 1986-1997 by cisco Systems, Inc.
Compiled Tue 08-Jul-97 04:34 by richardd
Image text-base: 0x600088F0, data-base: 0x6077C000