Cisco Systems periodically releases new software versions for the CSS. To help
you upgrade your CSS with a new software release, this appendix provides the
following information:
• Before You Begin
• Upgrading Your CSS
• Updating Management Information Base Files (MIBs)
NoteWhen Cisco Systems makes syntax changes to existing CLI commands, the CSS
updates your startup-config automatically with most command syntax changes.
For example, the CSS automatically updates the web-mgmt state enabled
command inthe startup configto the newno restrict web-mgmt command. If the
CSS does not update a command syntax change in a startup-config automatically,
a startup error is displayed. Refer to the Release Note for theCisco Series ContentServices Switch for information on which command syntax changes display
startup-config errors.
Before you can upgrade your CSS, copythe new CSS software to your FTP server
and configure an FTP server record for the FTP server on your CSS. To display
the maximum number of installed versions allowed on your hard disk or flash
disk, use the show installed-software version-limit command.
Copying the New CSS Software
ArrowPoint Distribution Images (ADIs) of the CSS software versions are on the
Cisco Systems Website (www.cisco.com).Useyour customer login andpassword
to access this page. From this location, you can access the page listing the
versions of GZIP-compressed software. Click an image to download it. Once the
image is downloaded, place it on an FTP server that the CSS can access.
NoteYou do not need to uncompress the GZIP-compressed software. When you copy
it or the upgrade script copies it to the CSS, the CSS uncompresses it.
Appendix A Upgrading Your CSS Software
Configuring an FTP Server Record on the CSS
Before you can copy the ADI from the FTP server to the CSS, you must create an
FTP record file on the CSS identifying it. The record contains the IP address,
username, and password for the server. To configure an FTP server record:
1. Log into the CSS.
2. Access global configuration mode by entering:
# config
(config)#
3. Configure the default FTP server by using the ftp-record command. The
The upgrade script allows you to upgrade your CSS without having to enter any
CLI commands. There are two ways to run the script:
• Automatically Running the Upgrade Script
• Interactively Using the Upgrade Script
NoteIf the upgrade scriptfails while upgrading the CSS to thesame version of software
that is currently running, the CSS software directory will be incomplete. To
reinstall the software, you must upgrade the CSS manually (that is, FTP the .adi
file to the CSS and perform a manual unpack).
Automatically Running the Upgrade Script
You can run the upgrade script to perform the software upgrade without having to
enter any information. The script automatically:
• Checks to see howmany installed software versions are installed on the CSS.
If there are two installed versions (the maximum), the script deletes an older
version.
Appendix A Upgrading Your CSS Software
A-4
NoteThe script will not offer to delete a version that you have configured
as the primary or secondary boot file. On a flash disk-based system,
you may need to quit and then deselect the primary or secondary boot
file before continuing with the upgrade.
• Archives the running configuration to the startup configuration.
• Copies the new ADI to the CSS boot-image directory.
To upgrade your CSS software using the upgrade script:
1. Log into the CSS.
2. Archive your custom scripts and user-profile files from the CSS scripts
directory to the archive directory. The upgrade overwrites files in the script
directory but does not overwrite files in the archive directory. After the
upgrade, you will restore these files to the scripts directory.
To archiveeach fileto the archivedirectory,usethe archive script command.
The syntax for this command is:
archive script script_filename {archive_filename}
The variables are as follows:
• script_filename - The filename of the script to archive. To see a list of
scripts, enter:
# archive script ?
• archive_filename - (Optional) The name youwant to assign to the archive
file. Enter an unquoted text string with a maximum of 32 characters.
For example, to archivethe admin-profile filefrom the scripts directory to the
archive directory, enter:
# archive script admin-profile
Upgrading Your CSS
78-13885-03
To copy any changes to your current user profile to the script directory and
then archive the profile to the archive directory, use the alias save_profile
command. For example, enter:
# save_profile
3. Startthe upgrade script and include the name of the ADI and its extension in
quotes.
• If you are using a GZIP-compressed ADI from the FTP server, include
the gz file extension. For example:
# upgrade “sg0710002.adi.gz”
• If you are using an uncompressed version of the ADI from the FTP
server, include the adi file extension. For example: