|
This appendix describes how to locate, download, and install software updates for the switch. Because software updates are stored in the switch file system, this appendix includes a section on browsing the file system. This appendix includes the following sections:
This appendix provides a series of quickstart procedures that describe how to perform graceful and non-graceful upgrades to the switch. To perform a graceful upgrade on a switch card, the card must be operating in redundant mode with another switch card of the same type. When performed properly, graceful upgrades have minimal impact on connections in progress and do not interrupt any established connections.
Note Graceful upgrades to release 3 are supported from release 2.1.76 or 2.1.80. |
Caution A direct upgrade from release 2.0.16 or below to release 3 is not supported. You must upgrade to release 2.1.76 or 2.1.80 first before going to release 3. |
When a card to be upgraded is not operating in redundant mode, you must complete a non-graceful upgrade, which disrupts all traffic that passes through the card. For PXM1E cards, an ungraceful upgrade interrupts all traffic passing through the switch. For all other types of cards, an ungraceful upgrade affects only the traffic that passes through that card.
When you upgrade the software in a switch, you should refer to the Release Notes for Cisco MGX 8850 and MGX 8830 Software Version 3 (PXM45/B and PXM1E) for the latest information. Each type of switch card runs boot and runtime software. The recommended sequence for upgrading the software on switch cards is as follows:
Note If you plan to upgrade PXM1E cards and SRM cards, upgrade the PXM1E cards first. Wait until the PXM1E cards are operating in active and standby modes with the correct software before upgrading service modules. |
Typically, the boot software requires less frequent upgrades. Some upgrades might only require updates to one type of switch card. The Release Notes for Cisco MGX 8850 and MGX 8830 Software Version 3 (PXM45/B and PXM1E) should explain which software components require upgrading.
When you upgrade the software on a switch card, proceed as follows:
The next section presents the quickstart procedure for switch card software upgrades.
The following sections provide quickstart procedures for the following upgrades:
When performed properly, graceful upgrades have minimal impact on connections in progress and do not interrupt any established connections.
When a boot software upgrade is required, the procedure for upgrading redundant PXM1E cards is as follows:
1. Manually upgrade the boot software on the standby PXM1E.
2. Switch cards to make the upgraded standby card active.
3. After the standby card becomes the active card, manually upgrade the non-active card.
This process ensures a smooth transition to the new software and preserves all established calls. During the short period when the roles of the active and standby cards are switched, all calls that are not established are lost.
Caution Avoid making configuration changes while upgrading PXM1E software. Configuration changes can be lost when the PXM1E is reset during the upgrade. |
To upgrade the runtime software, use the following procedure.
|
Ungraceful upgrades disrupt all switch traffic and are usually used in lab installations where the use of standalone cards provides no opportunity for a graceful upgrade. The quickstart procedure is provided as an overview and as a quick reference for those who have already performed ungraceful upgrades on the switch.
Note Avoid making configuration changes while upgrading PXM1E software. Configuration changes can be lost when the PXM1E is reset during the upgrade. |
|
When performed properly, graceful upgrades have minimal impact on connections in progress and do not interrupt any established connections.
1. Loads the new software on the standby PXM1E card
2. Makes the standby card active
3. Loads the new software on the formerly active (now standby) card
Note Upgrade the PXM1E cards before you upgrade SRM cards or service modules. Wait until the PXM1E cards are operating in active and standby modes with the correct software before upgrading other cards. The software version used by the PXM1E cards should be equal to or later than the version used on the SRM cards or service modules. When service module or SRM boot software is to be upgraded, it should be upgraded before upgrading the runtime software. |
Caution Avoid making configuration changes while upgrading PXM1E software. Configuration changes can be lost when the PXM1E is reset during the upgrade. While graceful upgrades can be aborted with the abortrev command, the abortrev command does reset both active and standby cards, so reverting back to an earlier software release is non-graceful. |
Note Cisco Systems recommends that you upgrade software on one SRM card or service module at a time within a switch. Wait until each card upgrade is complete before starting an upgrade on another card. |
To upgrade the runtime software, use the following procedure.
|
Ungraceful upgrades disrupt all switch traffic and are usually used in lab installations where the use of standalone cards provides no opportunity for a graceful upgrade. The quickstart procedure is provided as an overview and as a quick reference for those who have already performed ungraceful upgrades on the switch.
Note Upgrade the PXM1E cards before you upgrade SRM cards or service modules. Wait until the PXM1E cards are operating in active and standby modes with the correct software before upgrading other cards. The software version used by the PXM1E cards should be equal to or later than the version used on the SRM cards or service modules. When service module or SRM boot software is to be upgraded, it should be upgraded before upgrading the runtime software. |
Caution Avoid making configuration changes while upgrading PXM1E software. Configuration changes can be lost when the PXM1E is reset during the upgrade. While graceful upgrades can be aborted with the abortrev command, the abortrev command does reset both active and standby cards, so reverting back to an earlier software release is non-graceful. |
Note Cisco Systems recommends that you upgrade software on one SRM card or service module at a time within a switch. Wait until each card upgrade is complete before starting an upgrade on another card. |
|
The RPM-PR card supports graceful boot software upgrades when 1:N redundancy is established in the switch between RPM-PR cards. Boot software is generally upgraded less often than runtime software, so be sure to compare the recommended boot software version with the boot software running on your RPMs before starting an upgrade. The correct boot software might already be installed.
The following quickstart procedure describes how to upgrade redundant RPM-PR cards.
Note Redundancy must be established before you use this procedure. If redundancy has not been configured between two RPM-PR cards, upgrade each RPM-PR card using the procedure in the "Non-Graceful RPM-PR Boot Software Upgrades" section later in this chapter. To add redundancy to an RPM-PR card, see the "Establishing Redundancy Between Two RPM-PR Cards" section in "Preparing RPM-PR Cards for Operation." |
|
The RPM-PR card supports graceful upgrades when 1:N redundancy is established in the switch between RPM-PR cards.
The following quickstart procedure describes how to gracefully upgrade redundant RPM-PR cards.
Note Redundancy must be established before you use this procedure. If redundancy has not been configured between two RPM-PR cards, upgrade each RPM-PR card as described in the "Non-Graceful RPM-PR Runtime Software Upgrades" section later in this chapter. To add redundancy to an RPM-PR card, see the "Establishing Redundancy Between Two RPM-PR Cards" section in "Preparing RPM-PR Cards for Operation." |
|
Use the non-graceful upgrade procedure in this section when you need to upgrade RPM-PR boot software and the RPM-PR is operating in standalone mode. Non-graceful upgrades terminate all connections and disrupt service until the upgrade procedure is complete.
Note If the RPM-PR is operating in 1:N redundancy mode with another RPM-PR, upgrade the cards as described in the "Graceful RPM-PR Boot Software Upgrades"section earlier in this chapter. |
The following quickstart procedure is provided as an overview and as a quick reference for those who have already performed RPM-PR upgrades on the switch. For detailed instructions, see the "Upgrade Procedures for RPM-PR Cards" section which appears later in this appendix.
|
Use the non-graceful upgrade procedure in this section when you need to upgrade RPM-PR runtime software and the RPM-PR is operating in standalone mode. Non-graceful upgrades terminate all connections and disrupt service until the upgrade procedure is complete.
Note If the RPM-PR is operating in 1:N redundancy mode with another RPM-PR, upgrade the cards as described in "Graceful RPM-PR Runtime Software Upgrades," which appears earlier in this chapter. |
The following quickstart procedure is provided as an overview and as a quick reference for those who have already performed RPM-PR upgrades on the switch. For detailed instructions, see "Upgrade Procedures for RPM-PR Cards," which appears later in this appendix.
|
Use the procedure in this section when you need to manually install or upgrade SCT files.
If you are using CWM to install or upgrade SCT files in your network, see the Cisco WAN Manager User's Guide, Release 11.
Note The following quickstart procedure is provided as an overview and as a quick reference for those who have already performed SCT upgrades on the switch. For detailed instructions, see the "Downloading and Installing SCT Files" section later in this appendix. |
Cisco Systems, Inc., recommends that you avoid software downgrades, which replace a current software release with another that has a lower version number. However, there are some situations in which you might want to downgrade the software. For example, if you have been testing pre-release software in a lab, the software version number can be higher than a later official software release. Any time the software version number to which you are changing is lower than the current software version, the change is a downgrade, regardless of when the software versions are released.
The following sections provide quickstart procedures for the following downgrades:
When redundant cards are used and the downgrade software is compatible with the existing runtime software, boot software downgrades can be graceful. To perform a graceful downgrade of boot software, follow the instructions for the appropriate graceful software upgrade:
Caution Cisco Systems, Inc., does not guarantee that any software downgrade is graceful, so assume that the downgrade is non-graceful and time the downgrade accordingly. The advantage to following the graceful upgrade procedures listed above is that you might be able to delay traffic interruption until the runtime software is downgraded. |
When upgrading a standalone card, the downgrade is non-graceful, and you should follow the following Non-Graceful PXM1E Boot Upgrades procedures.
To downgrade PXM45 runtime software, you must clear the entire switch configuration.All traffic is disrupted until the switch downgrade is complete and the configuration has been re-entered. The following quickstart procedure is provided as an overview for PXM45 runtime software downgrades.
Note The switch does not support a configuration restore to a downgraded software version. When you downgrade the PXM45 runtime software, you must re-enter the configuration. |
|
The PXM1E hard disk stores log files, configuration files, and boot and runtime software. The switch operating system supports a set of UNIX-like commands that you can use to locate log files or manage software updates. Table A-1 lists commands that you can use to browse the file system.
Note File and directory names in the switch file system are case sensitive. Also, some of the commands listed in Table A-1 are not available at all administrator access levels. |
Table A-1 File System Commands at Switch Prompt
|
For information on locating software updates, see the Release Notes for Cisco MGX 8850 and MGX 8830 Software Version 3 (PXM45/B and PXM1E).
This section describes how to copy software files to a Cisco MGX 8850 or Cisco MGX 8830 switch. The switch cards use boot software and runtime software. Each card uses the boot software to define communications between the card components and to enable cards to start up. The runtime software defines how the card operates after startup. RPM-PR cards function on the runtime software and use the boot software only when they cannot load the runtime software.
Note The boot and runtime software are installed on the switch at the factory. Before you copy new files to the switch, verify that you need to update them by comparing the file versions on the disk to those recommended in the Release Notes for Cisco MGX 8850 and MGX 8830 Software Version 3 (PXM45/B and PXM1E). |
Cisco MGX 8850 and Cisco MGX 8830 switches provide a File Transfer Protocol (FTP) service to support file transfers to the switch. If you have FTP client software and network connectivity to both the switch and the server where the software files are stored, you can use FTP to transfer files directly from the server to the switch.
Note The following procedure describes how to copy files to the switch when the runtime software is up and running (showing the node name switch prompt). When the runtime software cannot load, copy the software files to the switch as described in the "Transferring Software Files to and from the Switch" section in "PXM1E Backup Boot Procedures." |
Step 2 Using a workstation with FTP client software, transfer PXM1E files from the server to the switch directory C:/FW.
The procedure you use for transferring the files depends on the FTP client software you are using. When initiating the FTP connection, remember the following:
Step 3 To verify that the new PXM1E files have been transferred to the switch, log into the switch and display the contents of the C:/FW directory.
Step 4 Using a workstation with FTP client software, transfer RPM-PR files from the server to the switch directory E:/RPM.
Step 5 To verify that the new RPM-PR files have been transferred to the switch, log into the switch and display the contents of the E:/RPM directory.
For more information on browsing the switch file system, see the "Browsing the File System" section earlier in this appendix.
The following sections describe procedures that support upgrades to PXM1E cards. For complete upgrade procedures, see the "Quickstart Procedures for Software Upgrades" section earlier in this appendix. The procedures in this section detail some of the tasks listed in the quickstart procedures.
This section describes how to upgrade the PXM1E boot software on a single PXM1E card. If you are performing a graceful upgrade, use the quickstart procedure described in the "Graceful PXM1E Boot Upgrades" section earlier in this appendix. The following procedure provides detailed information on the upgrade task within the quickstart procedure.
Step 2 If you have not done so already, change to PXM1E Backup Boot mode as described in the "Changing to PXM1E Backup Boot Mode" section in "PXM1E Backup Boot Procedures."
Step 3 To burn the boot software on the PXM1E, enter the sysFlashBootBurn command as follows:
Replace filename with the complete path to the boot file on the PXM1E hard drive. For example,
Step 4 When the switch prompts you to confirm this action, type y and press Return.
When the boot code burning process is complete, the switch displays a message similar to the following example:
Step 5 When the boot code has been burned, reset the card with the reboot command. For example,
Be patient and wait for the Login prompt to appear.
Step 6 When the Login prompt appears, log in to the switch as you do at the beginning of a CLI session. The switch prompt should appear.
Step 7 To confirm that the PXM1E card is now using the correct boot code, enter the dspcd command.
The Boot FW Rev row in the display should show the new revision as shown in the following example:
After you confirm the upgrade to the first PXM1E card, the boot software upgrade for that card is complete.
This section describes how to load the runtime upgrade software in preparation for running it. Production switches should have redundant cards installed, so that upgrades can occur without interrupting traffic. For graceful upgrades, the upgrade software is loaded on the standby card first, and then the control is switched to upgraded card so that the other card can be upgraded. The best way to assess the upgrade status of a card is to enter the dspcd <slot> command. For example:
The primary (Prim SW Rev), secondary (Sec SW Rev), and current (Cur SW Rev) software revision labels indicate the status of an upgrade. In this example, these numbers match because the runtime software upgrade has not started. (Note that the boot software has been upgraded as indicated by the Boot FW Rev label.)
The primary software revision indicates which revision a card will run if it becomes active, and the secondary revision indicates an alternate revision that the card will use if the abortrev command is entered. (For more information on aborting an upgrade, see the "Aborting a Runtime Software Upgrade" section later in this appendix.) The current software revision represents the software the active card is using.
The normal sequence of commands for a runtime software upgrade is loadrev, runrev, and commitrev. Table A-2 shows how the software revision levels change during a graceful runtime software upgrade.
Table A-2 Software Versions Reported During Graceful Upgrades
|
For non-graceful upgrades, the load process defines the software version to which the switch is about to be upgraded. Table A-3 shows how the revision levels change during a non-graceful upgrade.
Table A-3 Software Versions Reported During Non-Graceful Upgrades
|
If you are performing a graceful upgrade, use the quickstart procedure described in the "Graceful PXM1E Runtime Software Upgrades" section earlier in this appendix. The following procedure provides detailed information on the load task within the quickstart procedure.
Replace <slot> with the card slot number for the card to be upgraded, and replace <revision> with the software version number for the update. For graceful upgrades, you can specify either the active or the standby card. The switch software will automatically load the upgrade software on the standby card when it is installed. The following example shows how to enter this command:
After you enter the loadrev command, the standby card comes up in the standby-U state.
You can find the software version number in the Release Notes for Cisco MGX 8850 and MGX 8830 Software Version 3 (PXM45/B and PXM1E). You can also determine the version number from the runtime software filename as described in the "Determining the Software Version Number from Filenames" section in "Switch Operating Procedures."
Step 2 When prompted to confirm the command, type y and press Return to continue.
Step 3 To verify that the load command was processed correctly, enter the dspcd <slot> command and check the status of the software revision levels. You can also view the revision levels with the dsprevs command.
Note In a standalone configuration, the switch does not start the upgraded software until the runrev command is entered. In a redundant configuration, the switch starts the upgraded software on the standby card. The standby card does not become active until the runrev command is entered. |
After you load the runtime upgrade software for a PXM1E card, enter the runrev command to start using the software. The version levels for graceful and non-graceful upgrades change as shown earlier in Table A-2 and Table A-3. The following procedure describes how to start the upgrade software.
Replace <slot> with the card slot number, and replace <revision> with the software version number specified with the loadrev command. For graceful upgrades, you can specify either the active or the standby card. The switch software will automatically run the upgrade software on the standby card when it is installed. The following example shows how to enter this command:
The active card is reset, and the former standby card comes up in the active-U state.
Step 2 When prompted to confirm the command, type y and press Return to continue.
Step 3 To verify that the load command was processed correctly, enter the dspcd <slot> command and check the status of the software revision levels. You can also view the revision levels with the dsprevs command.
Step 4 When the former active card comes up in the standby-U state, enter the commitrev command to commit to that software version. This step is optional.
After the runrev command is entered, the switch starts running the new software revision. The secondary software revision shows that a previous revision is still available. Whenever the secondary software revision is different from the primary and current software revisions, you can revert back to the secondary software revision as described in the "Aborting a Runtime Software Upgrade" section later in this appendix.
After upgrading PXM1E card, SRM card, or service module runtime software, you can revert to the previously used version of software at any time, as long as you have not committed to the new software version with the commitrev command (which is described in the next section).
Caution Reverting to the previously used version of runtime software resets both PXM1E cards and terminates all calls in progress. |
To revert to the previously used runtime software version, use the following procedure.
Step 2 To display the software revisions known to the switch, enter the dspcd <slot> command. (You can also view the revision levels with the dsprevs command.)
Replace slot with the slot number of the active card. To complete the next step, you need to know the secondary software revision shown in the display.
Note If the primary and secondary software revisions are the same, there is no other revision level to revert back to. |
Step 3 To abort use of the primary software revision and revert back to the secondary software revision, enter the following command:
Replace <slot> with the card slot number for the active card, and replace <revision> with the software version number for the secondary software revision.
Step 4 To verify that the standby card is running the previously used software version, enter the dspcd <slot> command to view the software version in use. You can also view the revision levels with the dsprevs command.
Committing to an upgrade does the following:
Once you are sure that an upgrade is stable, you can use the commitrev command commit to that software version. Committing to the current software version prevents other administrators from inadvertently reverting to the previous version. You must also commit to the current software version before you can upgrade to another software version.
To commit to the currently running runtime software version, use the following procedure.
Step 2 Determine if there is an unfinished upgrade by doing the following:
a. If necessary, use the cc command to select the active PXM1E card.
b. Enter the dspcd <slot> command.
c. Check the dspcd command report to see if the same software revision is listed for the Primary Software Revision (Prim SW Rev), Secondary Software Revision (Sec SW Rev), and Current Software Revision (Curr SW Rev).
If all version numbers are identical, the runtime software can be upgraded. There is no need to commit to the current software revision.
Step 3 To commit to the software version, enter the following command:
Replace <slot> with the card slot number for the active card, and replace <revision> with the software version number for the currently used software version. To display the software version number, use the dspcd <slot> command to view the software version in use. You can also view the revision levels with the dsprevs command.
Note Cisco Systems recommends that you avoid configuration changes until after you have run the commitrev or abortrev commands. |
Manual installation of SCTs is a three-step process:
1. FTP the new SCT files onto your switch.
2. Move the new SCT files to the F directory.
3. Load the SCT files onto the network.
The following procedure describes in detail how to install SCT files onto your network through the CLI.
Step 2 Establish a CLI management session at any user access level.
Step 3 At the PXM1E prompt, enter the addsct command:
The required parameters for this command are as follows:
Table A-4 addsct Command Parameters
|
The addsct command moves the SCT files from the C:SCT/TEMP directory to the F:SCT/<card_type> directory. In the following example, the user adds a PXM1E card SCT to the network.
D1.8.PXM.a > addsct 3 2 00003 00001 0x46f6c566 default_upgrade
You must enter this command once for each new SCT, or for each new major and minor version of a pre-existing SCT.
Step 4 Enter the dspscts command to ensure that the latest SCT version was registered on your network.
The status of the SCT would be marked as "failed" if the file does not exist or does not match the major and minor versions.
Once you have installed the SCT files on your network, you can enter the cnfsct command to overwrite them with new files with the same major version. To replace an SCT file with a new file of the same major version, use the following procedure:
Step 2 Establish a configuration session at any user access level.
Step 3 At the active PXM switch prompt, enter the command dspsctchksum <absolute path of file> command to display the checksum number of the SCT you want to upgrade to. Replace <absolute path of file> with the path of the latest SCT file.
Step 4 Enter the cnfsct <options> command at the active PXM switch prompt.
The required parameters for this command are described in Table A-5.\
Table A-5 cnfsct Command Parameters
|
In the following example, the user overwrites and old PXM1E card SCT with a new one:
Step 5 Enter the dspscts command to ensure that the latest SCT version was registered on your network. The status of the SCT would be marked as "failed" if the file does not exist or does not match the major and minor versions.
The following sections describe how to upgrade boot and runtime software on RPM-PR cards.
At the factory, a boot file is installed in the bootflash on the RPM-PR card and is used to boot the card. The runtime software is updated more frequently than the boot software. However, the boot software is updated occasionally. When you are updating runtime software, check the release notes that accompany the runtime software to see if a boot software upgrade is required.
The boot software is stored in bootflash memory on the RPM-PR card. To manage the software in bootflash, you access it as if it were a hard disk. For example, in copy and delete file commands, files are identified as bootflash:filename (which is similar to e:filename).
The following example shows a directory of bootflash contents:
Note Although you can display directory contents with the dir bootflash: command, the show flash: command provides more detail. Although bootflash and flash are separate entities on other Cisco Routers, both terms refer to the same entity on the RPM. |
In the example above, the numbers in the left column indicate the order in which the RPM-PR will try to load software. The second column shows that the first two files are marked for deletion (D). The last column lists the names of the files stored in bootflash.
When managing the bootflash, consider the following facts:
Caution If all bootable images are deleted from bootflash, the card must be returned to the factory to be reprogrammed. |
If you do need to upgrade the boot software, you can copy the new boot file to the PXM1E disk, and then copy it to the bootflash. The following procedure describes how to upgrade the boot software.
Step 2 Establish a configuration session using any valid user name.
Step 3 Enter the cc command to select the RPM-PR card to update.
The switch displays the Cisco IOS prompt for the router on the RPM-PR card. From this point on, all commands are Cisco IOS commands.
Note This procedure assumes that you are familiar with Cisco IOS commands (which is a topic that is beyond the scope of this book). This procedure details only those commands that are unique to setting up RPM-PR on the switch. For general Cisco IOS commands, examples are given to show how to complete the task. |
Step 4 Enter Enable mode for the router.
Step 5 To verify router access to the PXM1E hard disk and display the boot file name, enter dir e: command.
Step 6 To display the files in the bootflash, enter the show flash: command.
Step 7 To copy new boot software to the bootflash, enter the copy command.
Tip When prompted for the destination filename, press enter to use the source filename shown in the prompt. To change the destination filename, type a new filename after the prompt. |
Step 8 To verify that the file was copied, enter the show flash: command.
Step 9 To set the BOOTLDR variable to specify the new boot software, complete the following steps:
Step 10 To reorganize the bootflash so that the new boot software is loaded first when the BOOTLDR variable is not set, complete the following steps:
a. Because all files that precede the new boot image in bootflash have to be deleted, copy bootflash files you want to save to the PXM1E hard disk using the following command.
b. Mark all the files that precede the new boot image in bootflash using the del bootflash: command as shown in the following example:
Tip To unmark a bootflash file so that it won't be deleted when the squeeze flash: command is run, enter the undelete <number> command, where number is the file number displayed in the left-most column of the show flash: command display. |
c. To delete all files that are marked for deletion from bootflash, enter the squeeze flash: command as shown in the following example:
d. Copy any previously saved bootflash files you want to use from the PXM1E hard disk using the following command.
You might want to copy previously saved configuration files back to bootflash, or you might want to copy an older boot image to be used if the newer version becomes corrupt.
e. Enter the show flash: command to verify that the bootflash files are as you want them. The preferred boot software should appear first in the list.
Caution If all bootable images are deleted from bootflash and the RPM-PR card is restarted, the card must be returned to the factory to be reprogrammed. When you are done managing the bootflash, the show flash: command should display at least one bootable image, and the image you want the card to boot from should be the first bootable image in the list. |
Tip If the show flash: command does not display a bootable image, copy a bootable image to bootflash as described earlier in this procedure. You can continue to manage the bootflash, even when there are no files in bootflash, until the router is restarted. |
Step 11 When you are sure the bootflash is ready for use, you can enter the reload command to restart the RPM-PR card, or you can upgrade the runtime software as described in the next section.
Tip If the bootflash contains bootable images and the sequence is such that the card will not start, you can enter rommon mode and load the bootable image. To get into rommon mode, establish a console connection to the RPM-PR card, reset the RPM-PR card using the resetcd <slot> command from the active PXM1E card, then quickly enter the CTRL-[, Break sequence at the RPM-PR console. The command to send a Break depends on the computer platform and software you are using. It may take a couple of attempts to successfully get into rommon mode. When you are in rommon mode, the RPM-PR card displays the rommon 1 > prompt. Once in rommon mode, you can enter the dir bootflash: command to display the images in bootflash. To boot one of the images, enter a boot command using the following format: boot bootflash:filename. |
The runtime software on the RPM-PR can be loaded from the following sources:
Cisco Systems recommends that you configure the RPM-PR card to load from the E:RPM directory on the PXM1E hard disk. Note that images will load much faster from bootflash, but if you are using multiple RPM-PR cards, it takes longer to complete an upgrade because the runtime software must be copied to each RPM-PR card's bootflash instead of to a single location.
At startup, the RPM-PR card attempts to load the software in the order listed in the startup-config file. The following example shows an excerpt from a startup-config file:
In the startup-config file example, the RPM-PR card attempts to load the runtime software from the PXM1E card (e:rpm-js-mz_122-4.T) first, and if that fails, it attempts to load the image copy stored in bootflash. This configuration takes longer to upgrade, but it assures the card can reboot if someone accidentally removes the file on the PXM1E hard disk.
To configure the RPM-PR to load upgraded runtime software from the PXM1E hard disk, you need to do the following:
RPM-PR cards can be configured for 1:N redundancy as well as for non-redundant configurations. The procedures for both types of configuration are in the sections that follow.
Tip To simplify runtime software updates, copy the runtime file in the E:RPM directory and rename it to a generic name such as rpm-js-mz. The production runtime filenames have version numbers appended to them, but you can change this. This approach allows you to perform future upgrades by copying the file to the hard disk, renaming a copy of the file to your generic name, and resetting each card. The approach eliminates the need to reconfigure Cisco IOS commands on each card to recognize the new filename. |
Redundancy must be established before you use the procedure in this section. If redundancy has not been established, upgrade each RPM-PR card using the procedure in the next section, "Upgrading Without Redundancy".
To upgrade the RPM-PR runtime software for 1:N redundancy, use the following procedure.
Step 2 If you are using a generic filename for your runtime images, copy the file on the PXM1E hard disk and rename the copy. For example:
Step 3 Establish a configuration session using any valid user name.
Step 4 If your RPM-PR is already configured to use a file with a generic name, skip to Step 13.
Step 5 Enter the cc command to select the RPM-PR card to update.
The switch displays the Cisco IOS prompt for the router on the RPM-PR card. From this point on, all commands are Cisco IOS commands.
Note This procedure assumes that you are familiar with Cisco IOS commands (which is a topic that is beyond the scope of this book). This procedure details only those commands that are unique to setting up RPM-PR on the switch. For general Cisco IOS commands, examples are given to show how to complete the task. |
Step 6 Enter Enable mode for the router.
Step 7 Display the startup runtime software filename by entering the show bootvar command.
In the example above, the startup runtime software file is c:rpm-js-mz_122-4.T, and it has a version number attached to it. Another way to view the boot list is to enter the show startup-config command and look for the boot system commands.
Step 8 Enter the router global configuration mode.
Step 9 If you need to change the boot system filenames, remove the existing boot list using the boot system command as follows:
Step 10 Create a new boot list by entering one or more boot system commands as follows:
Replace the filename variable with the name of the new runtime file that was previously transferred to the E:RPM directory on the switch. For example:
If you want to enter additional boot system commands, enter them in the order in which you want the RPM-PR card to use them. The following example adds a statement to load from bootflash if the runtime file is not found on the PXM1E hard disk:
Note Before the RPM-PR card can load runtime software from bootflash, you must copy the runtime software to the bootflash. The procedure for copying files from the PXM1E hard disk to bootflash is described in the previous section. |
Step 11 Exit global configuration mode and save the new configuration.
Step 12 To verify the change, enter the show bootvar or show run commands.
Step 13 Switch to the active PXM1E card and reset the RPM-PR card. For example:
Step 14 Switch to the secondary card using the softswitch command as follows:
Replace <fromSlot> with the slot number of the primary card. Replace <toSlot> with the slot number of the secondary card.
This step makes the secondary card active and resets the primary RPM-PR card. When the primary card resets, it loads the upgraded software.
Step 15 Switch back to the primary card using the softswitch command as follows:
Replace <fromSlot> with the slot number of the secondary card. Replace <toSlot> with the slot number of the primary card.
This step makes the primary card active and resets the secondary RPM-PR card. When the reset is complete, the secondary card is ready to run the upgraded software.
Step 16 To verify that the router reboot is complete, enter the dspcds or dspcd <slot> commands. The reboot is complete when the card state displays as Active. Another way to verify router operation is to enter the cc slot command. If you can access the router from the switch prompt, the router reboot is complete.
Step 17 If there are other primary cards with redundant (secondary) cards, repeat this procedure for each primary card.
To upgrade the RPM-PR runtime software for nonredundant cards, use the following procedure.
Step 2 If you are using a generic filename for your runtime images, copy the file on the PXM1E hard disk and rename the copy. For example:
Step 3 Establish a configuration session using any valid user name.
Step 4 If your RPM-PR is already configured to use a file with a generic name, skip to Step 13.
Step 5 Enter the cc command to select the RPM-PR card to update.
The switch displays the Cisco IOS prompt for the router on the RPM-PR card. From this point on, all commands are Cisco IOS commands.
Note This procedure assumes that you are familiar with Cisco IOS commands (which is a topic that is beyond the scope of this book). This procedure details only those commands that are unique to setting up RPM-PR on the switch. For general Cisco IOS commands, examples are given to show how to complete the task. |
Step 6 Configure the RPM-PR card to store its configuration on the PXM1E hard disk by entering the following command:
Step 7 Enter Enable mode for the router.
Step 8 Display the startup runtime software filename by entering the show bootvar command.
In the example above, the startup runtime software file is c:rpm-js-mz_122-4.T, and it has a version number attached to it. Another way to view the boot list is to enter the show startup-config command and look for the boot system commands.
Step 9 Enter the router global configuration mode.
Step 10 If you need to change the boot system filenames, remove the existing boot list using the boot system command as follows:
Step 11 Create a new boot list by entering one or more boot system commands as follows:
Replace the filename variable with the name of the new runtime file that was previously transferred to the E:RPM directory on the switch. For example:
If you want to enter additional boot system commands, enter them in the order in which you want the RPM-PR card to use them. The following example adds a statement to load from bootflash if the runtime file is not found on the PXM1E hard disk:
Note Before the RPM-PR card can load runtime software from bootflash, you must copy the runtime software to the bootflash. The procedure for copying files from the PXM1E hard disk to bootflash is described in the previous section. |
Step 12 Exit global configuration mode and save the new configuration.
Step 13 To verify the change, enter the show bootvar or show run commands.
Step 14 Switch to the active PXM1E card and reset the RPM-PR card. For example:
Table A-6 lists symptoms of upgrade problems and suggestion on how to correct them.
Tip When troubleshooting problems on standby PXM1E cards or cards that do not start up to the active state, establish communications through the boot IP address or through the console port. |
Table A-6 Troubleshooting Upgrade Problems
|
Posted: Fri Jan 23 20:45:13 PST 2004
All contents are Copyright © 1992--2004 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.