Friday, May 31, 2013

Upgrading the IOS in a WS-C3550-24


Four down, one to go. Until next week, that is...




A 3550 is a bit different than a router:

Check the boot flash first:

Switch#sh boot
BOOT path-list:       flash:c3550-ipbasek9-mz.122-44.SE6/c3550-ipbasek9-mz.122-44.SE6.bin
Config file:          flash:/config.text
Private Config file:  flash:/private-config.text
Enable Break:         no
Manual Boot:          no
HELPER path-list:
NVRAM/Config file
      buffer size:    393216


Back up old IOS image to the TFTP:
Switch#copy flash:flash:c3550-ipbasek9-mz.122-44.SE6 tftp://10.0.1.2/c3550-ipb$

Address or name of remote host [10.0.1.2]?
Destination filename [c3550-ipbasek9-mz.122-44.SE6]?


Had trouble with this, ended up just erasing flash as there is not room for both on the flash:

Switch#erase flash:
Erasing the flash filesystem will remove all files! Continue? [confirm]
flashfs[1]: 0 files, 1 directories
flashfs[1]: 0 orphaned files, 0 orphaned directories
flashfs[1]: Total bytes: 15998976
flashfs[1]: Bytes used: 1024
flashfs[1]: Bytes available: 15997952
flashfs[1]: flashfs fsck took 9 seconds.
Erase of flash: complete

Then pull your new IOS from the TFTP server

Switch#copy tftp://10.1.0.2/c3550-ipservicesk9-mz.122-44.SE6.bin flas

Switch#$rvicesk9-mz.122-44.SE6.bin flash:c3550-ipservicesk9-mz.122-44.SE6.bin
Destination filename [c3550-ipservicesk9-mz.122-44.SE6.bin]?
Accessing tftp://10.1.0.2/c3550-ipservicesk9-mz.122-44.SE6.bin...
Loading c3550-ipservicesk9-mz.122-44.SE6.bin from 10.1.0.2 (via Vlan1): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 9707290 bytes]

9707290 bytes copied in 132.904 secs (73040 bytes/sec)

and direct the boot system to the image:

Switch(config)#boot system flash:c3550-ipservicesk9-mz.122-44.SE6.bin
Switch#copy running-config startup-config
Destination filename [startup-config]?




No comments:

Post a Comment