Community ForumCommunity Wiki * Blog Home  * Log in
« »

Upgrading IOS on a Cisco 6500 with a single SUP720

posted in Cisco Networking
by on January 7th, 2013 tags: , ,


Upgrading IOS on a Cisco 6500 isn’t necessarily as simple as loading an IOS image and rebooting the switch.  There are several other items that should also be considered such as modules, firmware, and field programmable devices.  The firmware is the low level operating system beneath IOS that controls how the various components work and interact.

These are some items that might need to be upgraded in addition to the IOS:

Each of the above have their own firmware naming conventions and it can be difficult to find these files. Try to Google partial file names to locate the correct images on the Cisco site. Here are some tips for finding firmware:

  1. The CEF720 line card firmware starts with c2lc-rm2. As of this writing, 12.2(18r)S1 is the current version and the current file name is c2lc-rm2.srec.122-18r-S1
  2. The SUP720 firmware starts with c6ksup720. As of this writing, 8.5(4) is the current version and the current file name is c6ksup720-rm2-srec.8-5-4.srec.
  3. The MSFC3 firmware starts with c6msfc, as of this writing 12.2(17r)SX7 is the current version and the current file name is c6msfc3-rm2-srec.122-17r.SX7.
  4. The field programmable device firmware starts with c6500-fpd-pkg. As of this writing, 12.2(33)SXJ3 is the current version and the current file name is c6500-fpd-pkg.122-33.SXJ3.pkg
  5. The IOS images for the 6500 series SUP720 firmware starts with s72033. As of this writing, 12.2(33)SXJ3 is the current version and the current file name is s72033-ipbase-mz.122-33.SXJ3, depending on your IOS license version

Field programmable devices start with SIP or SPA as part of the module name. You can verify if your chassis has a field programmable device by issuing the following command in the CLI:

show hw-module all fpd

The Line Card Upgrade

Always review the release notes, open caveats, and perform a bug scrape on the Cisco web site to determine if any of these upgrades will affect your production network, also verify that your line cards are supported with the new IOS and firmware versions.

First, copy all the necessary files to the flash on the switch, either to the disk0: or sup-bootflash: or bootflash: depending on what space is available in flash: and verify the md5 checksum of the IOS .bin images. (For purposes here, I copied the files to bootlfash:)

Second, backup of the config (use your current backup methodology).

Third, enter the “show module” look for CEF720 modules. As shown in the card type column, each of these CEF720 line cards will need to have their firmware upgraded. (If there are none listed, the line card firmware upgrade step can be skipped).

For each of these modules:

show rom-monitor slot x (where x is the module number from the show module output)

Router# show rom-monitor slot 4
   Region F1:APPROVED, preferred
   Region F2:INVALID Currently running ROMMON from F1 region
Router#

The output will display where the active ROMMON is running

For each of the CEF720 line cards we are going to enter the following command (where # is the slot number of the CEF720 Line Card, (4 is used in this example)

To upgrade the line card firmware, use the command upgrade rom-monitor slot # file bootflash:c2lc-rm2.srec.122-18r.S1

Router# upgrade rom-monitor slot 4 file bootflash:c2lc-rm2.srec.122-18r.S1
Copying bootflash:c2lc-rm2.srec.122-18r.S1 onto bootflash of dfc#4 CCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
Router#
19:40:08: DFC4: ROMMON image upgrade in progress
19:40:08: DFC4: Erasing flash
19:40:11: DFC4: Programming flash
19:40:13: DFC4: Verifying new image
19:40:13: DFC4: ROMMON image upgrade complete
 The card must be reset for this to take effect

If you are not seeing similar output, check your log .i.e. show logging, it should be there.

Next, verify the firmware is ready to run.

Use the show rom-monitor slot 4 command to verify

Router# show rom-monitor slot 4
Region F1:APPROVED
Region F2:FIRST_RUN, preferred
Currently running ROMMON from F1 region
Router#

Reset the line card to have the new line card firmware take effect.

Use the following command to reset the line card
hw-module module 4 reset

Router# hw-module module 4 reset

Verify the new firmware is running with the command show rom-monitor slot 4
 

Router# show rom-monitor slot 4
   Region F1:APPROVED
   Region F2:APPROVED, preferred
   Currently running ROMMON from F2 region
Router#

Verify the line card is running the new firmware with the show module command

 show module

Perform this action for each of your CEF720 line cards.

The SUP720 Switch Processor Firmware

Once confirmed we can move on to the SUP720 firmware, which is a similar process (where X is the slot your SUP720 is in, (for this example Slot 5)

We use a slightly modified version on the same command show rom-monitor slot X sp

Router# show rom-monitor slot 5 sp
   Region F1:APPROVED, preferred
   Region F2:INVALID
   Currently running ROMMON from F1 region
Router#

The output will display where the active switch processor ROMMON is running

To upgrade the switch processor firmware we will use the command upgrade rom-monitor slot 5 sp file bootflash:c6ksup720-rm2-srec.8-5-4.srec

upgrade rom-monitor slot 5 sp file bootflash:c6ksup720-rm2-srec.8-5-4.srec
   ROMMON image upgrade in progress

   Erasing flash
   Programming flash
   Verifying new image
   ROMMON image upgrade complete
   The card must be reset for this to take effect

Again, if you are not seeing similar output, check your log .i.e. show logging

Verify the firmware is ready to run with the command show rom-monitor slot 5 sp

Router# show rom-monitor slot 5 sp
   Region F1:APPROVED
   Region F2:FIRST_RUN, preferred
   Currently running ROMMON from F1 region
Router#

Reload the switch

reload

When the system comes back up, verify the new firmware is running with the command show rom-monitor slot 5 sp

Router# show rom-monitor slot 5 sp
   Region F1:APPROVED
   Region F2:APPROVED, preferred
   Currently running ROMMON from F2 region 
Router#
show version

The SUP720 MSFC Firmware

Once confirmed we can move on to the SUP720 MSFC Firmware, again a similar process (where X is the slot your SUP720 is in (for this example Slot 5).

We use a slightly modified version on the same command show rom-monitor slot X rp

Router# show rom-monitor slot 5 rp
   Region F1:APPROVED, preferred
   Region F2:INVALID
   Currently running ROMMON from F1 region
Router#

The output will display where the active switch processor ROMMON is running

We use the following command to upgrade the Route Processor firmeware
upgrade rom-monitor slot 5 rp file bootflash:c6msfc3-rm2-srec.122-17r.SX7

Router# upgrade rom-monitor slot 5 rp file bootflash:c6msfc3-rm2-srec.122-17r.SX7
   ROMMON image upgrade in progress
   Erasing flash
   Programming flash
   Verifying new image
   ROMMON image upgrade complete
   The card must be reset for this to take effect

Verify the firmware is ready to run with the command show rom-monitor slot 5 rp

Router# show rom-monitor slot 5 rp
   Region F1:APPROVED
   Region F2:FIRST_RUN, preferred
   Currently running ROMMON from F1 region 
Router#

reload the switch

reload

When the system comes back up, verify the new ROMMON is running with the command show rom-monitor slot 5 rp

Router# show rom-monitor slot 5 rp
   Region F1:APPROVED
   Region F2:APPROVED, preferred
   Currently running ROMMON from F2 region 
Router#
 show version

The field programmable devices are probably the easiest, if your hardware requires it, copy the file to the same location as the IOS image, the IOS image is smart enough to look for the firmware upgrade and will load it if it finds it, via the location specified in the boot statement. (If the 6500 does not find this file, your modules may not power up). For this example I uploaded the file to Disk0: and copy the file to bootflash:.

Router# copy disk0:c6500-fpd-pkg.122-33.SXJ3.pkg bootflash: c6500-fpd-pkg.122-33.SXJ3.pkg

Before we reload the switch, we need to make sure the new IOS image is in the same location as stated above.

Router# copy disk0: s72033-ipbase-mz.122-33.SXJ3 bootflash:s72033-ipbase-mz.122-33.SXJ3

Remove the old boot statements (Your images and location may vary, depending on your configuration).

Router# Config term
Router# no boot system bootflash:s72033-ipbase-mz.122-33.SXJ1
Router# no boot system bootflash:s72033-ipbase-mz.122-33.SXH8

Add the new boot statements, preserving the previous known good IOS version,  in case fallback is needed

Router# boot system bootflash:s72033-ipbase-mz.122-33.SXJ3
Router# boot system bootflash:s72033-ipbase-mz.122-33.SXJ1

Reload the switch

Router# reload

When the system comes back up, verify the new IOS is running with the command show ver

Router# show ver

Run your post upgrade test to verify that all production is functioning as expected.

Note: If firmware has never been upgraded on the device, you may see different output when you perform the command show rom-monitor slot 4

router#show rom-monitor slot 4
Region F1: INVALID
Region F2: INVALID
Currently running ROMMON from S (Gold) region

Also, your initial upgrade may go into Region F1, rather than Region F2 as is described in this document

Running from the S (Gold region) simply means that the firmware is running from the embedded EEPROM chip in the CEF720 Card/SUP720/MSFC. This is normal.

Comments

A thread has been created on the site forum specifically for commenting on this blog post.