Table Of Contents
Software Images
About Software Images
Essential Upgrade Prerequisites
Software Upgrade Mechanisms
Performing an Automated, One-Step Upgrade
The install all command
Benefits of Using the install all Command
Recognizing Failure Cases
Using the install all Command
Sample install all Commands
Performing a Manual Upgrade on a Dual Supervisor Switch
Preparing for a Manual Installation
Upgrading a Loader
Upgrading the BIOS
Specifying Kickstart and System Boot Variables
Performing a System Switchover
Performing a Manual Upgrade on a Single Supervisor Switch
Quick, One-Step Upgrade
Recovering a Corrupted Bootflash
Recovery Using BIOS Setup
Recovery from the loader> Prompt
Recovery from the switch(boot)# Prompt
Recognizing Error States
Recovery for Switches with Dual Supervisor Modules
Replacing a Faulty Supervisor Module
Default Factory Settings
Software Images
This chapter describes how to install and upgrade software images. The software image install procedure is dependent on the following factors:
•
Software images—The kickstart and system image files reside in directories or folders that can be accessed from the Cisco MDS 9000 Family switch prompt.
•
Image version—Each image file has a version.
•
Flash disks on the switch—The bootflash: resides on the supervisor and the CompactFlash disk is inserted into the slot0: device.
•
Supervisor modules—There are single or dual supervisor modules. In the dual supervisor scenario, the standby supervisor module should be updated first.
This chapter includes the following sections:
•
About Software Images
•
Essential Upgrade Prerequisites
•
Software Upgrade Mechanisms
•
Performing an Automated, One-Step Upgrade
•
Performing a Manual Upgrade on a Dual Supervisor Switch
•
Performing a Manual Upgrade on a Single Supervisor Switch
•
Quick, One-Step Upgrade
•
Recovering a Corrupted Bootflash
•
Recovery for Switches with Dual Supervisor Modules
•
Replacing a Faulty Supervisor Module
•
Default Factory Settings
About Software Images
Each switch is shipped with a Cisco MDS SAN-OS operating system for Cisco MDS 9000 Family switches. The SAN-OS consists of two images—the kickstart image and the system image. To upgrade the switch to a new image, you must specify the variables which direct the switch to the images.
•
To select the kickstart image use the KICKSTART variable.
•
To select the system image use the SYSTEM variable.
The images and variables are important factors in any install procedure. You must specify the variable and the image to upgrade your switch (see the "Specifying Kickstart and System Boot Variables" section). Both images are not always required for each install.
Note
Unless explicitly stated, the software install procedures in this section apply to any switch in the Cisco MDS 9500 Series and the Cisco MDS 9200 Series.
Essential Upgrade Prerequisites
Before attempting to migrate to any software image version, follow these guidelines:
•
Scheduling
Schedule the upgrade when the fabric is stable and steady. Ensure that everyone who has access to the switch or the network is not configuring the switch or the network during this time. All configurations will be disallowed at this time.
•
Space
Verify that sufficient space is available in the location where you are copying the images. This location includes the active and standby supervisor modules or bootflash: (internal to the switch). Use the dir command to ensure that the required free space is available for the image files to be copied.
–
Standby supervisor module bootflash: directory (see the"Connecting to a Module" section).
–
Internal bootflash offers approximately 200 MB of user space
•
Hardware
Avoid power interruption during any install procedure. These kinds of problems can corrupt the software image.
•
Connectivity (to retrieve images from remote servers)
–
Configure the IP address for the 10/100 BASE-T Ethernet port connection (interface mgmt0).
–
Ensure the switch has a route to the remote server. The switch and the remote server must be in the same subnetwork if you do not have a router to route traffic between subnets. Verify connectivity to the remote server using the ping command.
•
Images
–
The specified system and kickstart images must be compatible with each other.
–
If the kickstart image is not specified, the switch uses the current running kickstart image. If you specify a different system image, ensure that it is compatible with the running kickstart image.
–
Images can be retrieved in one of two ways:
Local—images are locally available on the switch (the install all command uses the specified local images).
Remote—images are in a remote location and the user specifies the destination using the remote server parameters and the file name to be used locally.
•
Commands
–
Verify that the auto-sync option is disabled.
–
The switchover mode, if configured, must be configured as HA standby (see the "Switchover Mechanisms" section).
–
We recommend the one-step install all command to upgrade your software. This command upgrades all modules in any Cisco MDS 9000 Family switch (see the "The install all command" section).
Only one install all command can be running on a switch at any time.
No other command can be issued while running the install all command.
The install all command cannot be performed on the standby supervisor module—it can only be issued on the active supervisor module.
If the switching module(s) are not compatible with the new supervisor module image, some traffic disruption may be noticed in the related modules, depending on your configuration. These modules are identified in the summary when you issue the install all command. You can choose to proceed with the upgrade or abort at this point.
Note
When you issue the install all command, the switch displays a summary of changes that will be made to your configuration and waits for your authorization to continue executing the command process.
Software Upgrade Mechanisms
The Cisco MDS SAN-OS software, designed for mission-critical high availability environments, provides the ability to upgrade software without any disruptions. To realize the benefits of nondisruptive upgrades on the Cisco MDS 9509 Director, it is highly recommended that you install dual supervisor modules.
You can upgrade any switch in the Cisco MDS 9500 Series and the Cisco MDS 9200 Series using one of three mechanisms:
•
Automated, one-step upgrade using the install all command (see the "Performing an Automated, One-Step Upgrade" section).
•
Manual, step-by-step upgrade (see the "Performing a Manual Upgrade on a Dual Supervisor Switch" section)
•
Quick, one-step upgrade using the reload command. This upgrade is disruptive (see the "Quick, One-Step Upgrade" section).
For nondisruptive upgrades, use the automated one-step upgrade or the manual step-by-step upgrade. In some cases, the software upgrades may be disruptive. These exception scenarios can occur under the following conditions:
•
A single supervisor system with kickstart image changes
•
A single supervisor system with incompatible system software images
•
A dual supervisor system with incompatible system software images
Tip
The install all command compares and presents the results of the compatibility before proceeding with the installation. You have the opportunity to exit, if you do not want to proceed with these changes.
Performing an Automated, One-Step Upgrade
You can perform an automated upgrade on any switch in the Cisco MDS 9200 Series or the Cisco MDS 9000 Series using the install all command.
The install all command
The install all command upgrades all modules in any Cisco MDS 9000 Family switch. Figure 5-1 provides an overview of the switch status before and after issuing the install all command.
Figure 5-1 The install all Command Effect
The install all command automatically verifies if the standby supervisor module is functioning (if present). If it is not functioning, it reloads that module and uses the reload module slot force-dnld command to force it to function.
Note
The install all command is only effective on switches running Cisco MDS SAN-OS Release 1.0(3) and later releases.
Benefits of Using the install all Command
The install all command provides the following benefits:
•
You can upgrade the entire switch using just one command.
•
You will receive descriptive information on the intended changes to your system before you issue the command.
•
You have the option to cancel the command. Once the effects of the command are presented, you can choose to continue or cancel when you see this question (the default is no):
Do you want to continue y/n? [n] :y
•
You can upgrade the entire switch using the least disruptive procedure. The manual install procedure involves several commands and processes and takes longer.
Tip
The automated process is described in Performing an Automated, One-Step Upgrade. The manual process is described in Performing a Manual Upgrade on a Dual Supervisor Switch through Performing a Manual Upgrade on a Single Supervisor Switch.
•
You can view the progress of this command on the console screen of the supervisor module(s).
•
The image integrity is automatically checked by the install all command. This includes the running kickstart and system images.
•
A platform validity check is performed to verify that a wrong image is not used—for example, to check if an MDS 9509 image is used to upgrade an MDS 9216 switch.
•
Use the Ctrl-c escape sequence to gracefully abort the install all command. The command sequence completes the update step in progress and returns to the switch prompt. (Other upgrade commands cannot be aborted using Ctrl-c.)
•
After issuing the install all command, if any step in the sequence fails, the command will complete the step in progress and abort.
For example, if a switching module fails to be updated for any reason (for example, due to an unstable fabric state), then the command sequence disruptively updates that module and aborts. In such cases, you can verify the problem on the affected switching module and manually upgrade the other switching modules.
Recognizing Failure Cases
The following situations will cause the install all command to abort:
•
If the auto-sync option is enabled.
•
If the standby supervisor module bootflash: directory does not have sufficient space to accept the updated image.
•
If the specified system and kickstart images are not compatible.
•
If the install all command is issued on the standby supervisor module.
•
If the fabric or switch is configured while the upgrade is in progress.
•
If a module is removed or inserted while the upgrade is in progress.
•
If the switch has any power disruption while the upgrade is in progress.
•
If the entire path for the remote location is not specified accurately.
Caution ![](../../../../../../../../../../i/templates/blank.gif)
Avoid aborting the switch progress after issuing the
install all command. If the
install all command is aborted, be sure to verify the state of the switch at every level. If you issue the command and then abort, you may need to use the manual procedure commands to complete the upgrade. This necessity depends on the state of the switch at the time of the failure.
Using the install all Command
To perform an automated software upgrade on any switch, follow these steps:
Step 1
Log into the switch through the console port of the active supervisor.
Step 2
Create a backup of your existing configuration file, if required (see the "Working with Configuration Files" section).
Step 3
Perform the upgrade by issuing the install all command on the active supervisor module.
switch# install all system bootflash:system-image kickstart bootflash:kickstart-image
Image verification is in progress, please wait.
This command is going to install system image m9500-sf1ek9-mz.1.0.3.bin
and kickstart image m9500-sf1ek9-kickstart-mz.1.0.3.upg.bin on this system
- Install the Loader, if required
- Install the BIOS, if required
- Reload the standby supervisor
- Perform a HA Switchover
- Perform a hitless upgrade of module 1, 2, 3, 4, 7, 8, 9
Step 4
Enter yes if you wish to continue with the installation.
Do you want to continue y/n ? [n] :y
Image synchronization is in progress, please wait.
Installing Loader, please wait.
Installing Loader on module 5 ... successful
Installing Loader on module 6 ... successful
Installing BIOS, please wait.
Installing BIOS on module 1 ... not required (same version)
Installing BIOS on module 2 ... not required (same version)
Installing BIOS on module 3 ... not required (same version)
Installing BIOS on module 4 ... not required (same version)
Installing BIOS on module 5 ... not required (same version)
Installing BIOS on module 6 ... not required (same version)
Installing BIOS on module 7 ... not required (same version)
Installing BIOS on module 8 ... not required (same version)
Installing BIOS on module 9 ... not required (same version)
Updating boot variables .. successful
Saving configuration, please wait.
Reload of the standby supervisor is in progress, please wait
Success, the standby supervisor is online and ready to takeover
Step 5
Exit this terminal session and open a new session to view the upgraded supervisor module using the show module command.
Note
If the configuration meets all guidelines when the install all command is issued, all modules (supervisor and switching) are upgraded. This is true for any switch in the Cisco MDS 9000 Family.
Sample install all Commands
Example 5-1 displays the result of the install all command if the system and kickstart files are specified in the command line.
Example 5-1 Files Specified Locally
switch# install all system bootflash:system_image kickstart bootflash:kickstart_image
Image verification is in progress, please wait.
This command is going to install system image m9500-sf1ek9-mz.1.0.3.bin
and kickstart image m9500-sf1ek9-kickstart-mz.1.0.3.upg.bin on this system
- Install the Loader, if required
- Install the BIOS, if required
- Reload the standby supervisor
- Perform a HA Switchover
- Perform a hitless upgrade of module 1, 2, 3, 4, 7, 8, 9
Do you want to continue y/n ? [n] : y
Image synchronization is in progress, please wait.
Installing Loader, please wait.
Installing Loader on module 5 ... successful
Installing Loader on module 6 ... successful
Installing BIOS, please wait.
Installing BIOS on module 1 ... not required (same version)
Installing BIOS on module 2 ... not required (same version)
Installing BIOS on module 3 ... not required (same version)
Installing BIOS on module 4 ... not required (same version)
Installing BIOS on module 5 ... not required (same version)
Installing BIOS on module 6 ... not required (same version)
Installing BIOS on module 7 ... not required (same version)
Installing BIOS on module 8 ... not required (same version)
Installing BIOS on module 9 ... not required (same version)
Updating boot variables .. successful
Saving configuration, please wait.
Reload of the standby supervisor is in progress, please wait
Success, the standby supervisor is online and ready to takeover
Example 5-2 displays the result of the install all command if the system and kickstart files are automatically downloaded using a remote (TFTP, FTP, SCP, or SFTP) download option.
Caution ![](../../../../../../../../../../i/templates/blank.gif)
Specify the exact, complete, path of the remote location. The system will not allow you to proceed if the entire path is not accurately specified. Some examples of incomplete
install all commands are provided below,
Example 5-2 provides an accurate, complete example.
switch#
install all system bootflash:system_image kickstart tftp:
Please provide a complete URI
switch#
install all system scp:
Please provide a complete URI
Example 5-2 Files Specified in a Remote Location
switch# install all
system scp://user@171.71.00.000/home/user/golden-sanity/system_image
kickstart scp://user@171.71.00.000/home/user/golden-sanity/kickstart_image
scp://user@171.71.00.000/home/user/golden-sanity/system_image to bootflash:/system_image
scp://user@171.71.00.000/home/user/golden-sanity/kickstart_image to
bootflash:/kickstart_image
user@171.71.00.000's password:
system_image 100% |*****************************| 19941 KB
Image verification is in progress, please wait.
This command is going to install system image m9500-sf1ek9-mz.1.0.3.bin
and kickstart image m9500-sf1ek9-kickstart-mz.1.0.3.upg.bin on this system
- Install the Loader, if required
- Install the BIOS, if required
- Reload the standby supervisor
- Perform a HA Switchover
- Perform a hitless upgrade of module 1, 2, 3, 4, 7, 8, 9
Do you want to continue y/n ? [n] :y
Image synchronization is in progress, please wait.
Installing Loader, please wait.
Installing Loader on module 5 ... successful
Installing Loader on module 6 ... successful
Installing BIOS, please wait.
Installing BIOS on module 1 ... not required (same version)
Installing BIOS on module 2 ... not required (same version)
Installing BIOS on module 3 ... not required (same version)
Installing BIOS on module 4 ... not required (same version)
Installing BIOS on module 5 ... not required (same version)
Installing BIOS on module 6 ... not required (same version)
Installing BIOS on module 7 ... not required (same version)
Installing BIOS on module 8 ... not required (same version)
Installing BIOS on module 9 ... not required (same version)
Updating boot variables .. successful
Saving configuration, please wait.
Reload of the standby supervisor is in progress, please wait
Success, the standby supervisor is online and ready to takeover
Example 5-3 displays the file output on the console of the standby supervisor module. It is a continuation of the output displayed in Example 5-1 and Example 5-2.
Example 5-3 Output of the install all Command on the Standby Supervisor Module Console
Installation procedure in progress, please wait.
The login will be disabled until the installation is completed.
Switchover to this supervisor is successful
Install of module 1 is in progress, please wait.
Install of module 2 is in progress, please wait.
Install of module 3 is in progress, please wait.
Install of module 4 is in progress, please wait.
Install of module 7 is in progress, please wait.
Install of module 8 is in progress, please wait.
Install of module 9 is in progress, please wait.
The installation procedure has completed successfully.
Example 5-4 displays the install all command output of a TFTP GET operation.
Example 5-4 Successful TFTP Get Operation
switch# install all system tftp://10.24.3.36/m9500-1.0.3 kickstart tftp
://10.24.3.36/m9500-kickstart.1.0.3
Copying tftp://10.24.3.36/m9500-1.0.3 to bootflash:/m9500-1.0.3
Trying to connect to tftp server......
****************************
TFTP get operation was successful
Copying tftp://10.24.3.36/m9500-kickstart.1.0.3 to bootflash:/m9500-kickstart.1.0.3
Trying to connect to tftp server......
TFTP get operation was successful
Image verification is in progress, please wait.
Jan 29 05:10:51 switch %LOCAL2-1-SYSTEM_MSG: root : command not allowed
; TTY=unknown ; PWD=/var/tmp/4683 ; USER=root ; COMMAND=mount -o ro /mnt/bootloa
Jan 29 05:10:51 switch %LOCAL2-1-SYSTEM_MSG: root : command not allowed
; TTY=unknown ; PWD=/var/tmp/4683 ; USER=root ; COMMAND=umount /mnt/bootloader
This command is going to install system image m9500-sf1ek9-mz.1.0.3.bin
and kickstart image m9500-sf1ek9-kickstart-mz.1.0.3.upg.bin
- Install the Loader, if required
- Install the BIOS, if required
- Reload the standby supervisor
- Perform a HA Switchover
- Perform a hitless upgrade of module 1, 9
Do you want to continue y/n ? [n] : y
Image synchronization is in progress, please wait.
Installing Loader, please wait.
Installing Loader on module 5 ... successful
Installing Loader on module 6 ... successful
Installing BIOS, please wait.
Installing BIOS on module 1 ... not required (same version)
Installing BIOS on module 5 ... not required (same version)
Installing BIOS on module 6 ... not required (same version)
Installing BIOS on module 9 ... not required (same version)
Updating boot variables .. successful
Saving configuration, please wait.
Reload of the standby supervisor is in progress, please wait
Success, the standby supervisor is online and ready to takeover
Synchronizing with Firmbase...
Example 5-5 displays the install all command output of a failed operation due to a full standby disk.
Example 5-5 Failed Operation due to a Full Standby bootflash: Directory
switch# install all system tftp://10.24.3.36/m9500-1.0.3 kickstart tftp:
//10.24.3.36/m9500-kickstart.1.0.3
Copying tftp://10.24.3.36/m9500-1.0.3 to bootflash:/m9500-1.0.3
Trying to connect to tftp server......
****************************
TFTP get operation was successful
Copying tftp://10.24.3.36/m9500-kickstart.1.0.3 to bootflash:/m9500-kickstart.1.0.3
Trying to connect to tftp server......
TFTP get operation was successful
Image verification is in progress, please wait.
Jan 28 12:14:24 switch %LOCAL2-1-SYSTEM_MSG: root : command not allowed
; TTY=unknown ; PWD=/var/tmp/2990 ; USER=root ; COMMAND=mount -o ro /mnt/bootloader
Jan 28 12:14:24 switch %LOCAL2-1-SYSTEM_MSG: root : command not allowed
; TTY=unknown ; PWD=/var/tmp/2990 ; USER=root ; COMMAND=umount /mnt/bootloader
This command is going to install system image m9500-sf1ek9-mz.1.0.3.bin
and kickstart image m9500-sf1ek9-kickstart-mz.1.0.3.upg.bin
- Install the Loader, if required
- Install the BIOS, if required
- Reload the standby supervisor
- Perform a HA Switchover
- Perform a hitless upgrade of module 1, 9
Do you want to continue y/n ? [n] : y
Image synchronization is in progress, please wait.
Image Synchronization failed(Standby disk may be full) <------------insufficient space message
Example 5-6 displays the install all command output of a failed operation due to an invalid image.
Example 5-6 Failed Operation due to an Invalid Image
switch# install all system kickstart-1.0.3 kickstart system-1.0.3
The system image is not a valid image
System Image type-check did not succeed
Performing a Manual Upgrade on a Dual Supervisor Switch
Caution ![](../../../../../../../../../../i/templates/blank.gif)
If you are a new user, use the
install all command to perform a software upgrade. The information and instructions provided in this section targets administrators or individuals who are completely familiar with specific switch functions.
You can manually upgrade any switch in the Cisco MDS 9200 Series or the Cisco MDS 9500 Series using the procedures provided in this section. This upgrade mechanism requires you to implement some or all procedures depending on your switch or network configuration.
To perform a manual upgrade for a dual supervisor switch, follow these steps.
Step 1
"Preparing for a Manual Installation" section
Step 2
"Upgrading a Loader" section
Step 3
"Upgrading the BIOS" section
Step 4
"Specifying Kickstart and System Boot Variables" section
Step 5
"Performing a System Switchover" section
Preparing for a Manual Installation
To prepare any Cisco MDS 9000 Family switch for a manual software installation, follow these steps:
Step 1
Log into the switch through the console port, an SSH session, or a Telnet session.
Step 2
Create a backup of your existing configuration file, if required (see the "Saving the Configuration" section).
Step 3
Copy the software image from a TFTP location to one of two targets: bootflash: or slot0:.
The switch remains operational while the image file is copied.
•
Bootflash device (TFTP defaults to the bootflash device)—Copy the software image file from the appropriate TFTP directory to bootflash.
switch# copy tftp://<server IP address>/<file name in TFTP> <destination file name
as desired>
For example:
switch# copy tftp://10.1.7.2/system_image bootflash:system_image
Note
The Cisco MDS 9200 Series of switches do not have an external CompactFlash (see the "About Flash Devices" section). If you are using a switch in this series, use the bootflash: directory to copy and verify files.
•
CompactFlash device—Copy the software image file from the appropriate TFTP directory to the CompactFlash device in slot0:.
switch# copy tftp://<server IP address>/<file name in TFTP> slot0:system_image
You can also copy the image onto a new Flash disk from a PC and insert it in slot0: in the Cisco MDS 9500 Series switch. After you copy the image and insert it into the slot0: partition, the process is the same as the CompactFlash device after the copy command is issued.
Step 4
Verify that the file was copied in the required directory.
switch# dir bootflash:
admin 524288 Jan 22 04:27:42 1980 additionalfile1
admin 14576128 Jan 07 20:56:58 1980 additionalfile2
admin 3829262 Jan 07 20:50:58 1980 additionalfile3
admin 18961190 Jan 07 22:30:34 1980 system_image
admin 14514688 Jan 07 22:27:21 1980 kickstart_image
root 12288 Dec 22 23:32:06 2002 lost+found/
admin 2373 Jan 04 23:35:12 1980 z1.cfg
Usage for bootflash: filesystem
114538496 bytes total used
186085376 bytes available
Step 5
Ensure that the software images are not damaged or corrupted in the saved bootflash: location.
When copying a new image to your switch, confirm that the image was not corrupted during the copy process.
Use the show version image command to verify that the required image was copied successfully.
switch# show version image bootflash:kickstart_image
image name: m9500-sf1ek9-kickstart-mzg.1.0.3.bin
kickstart: version 1.0(3)
compiled: 2/12/2003 11:00:00
Note
A verification failed message is generated when you use a Cisco MDS 9500 Series image on a Cisco MDS 9200 Series switch or a Cisco MDS 9200 Series image on a Cisco MDS 9500 Series switch. Be sure to verify the right image.
Step 6
Compare the running system image and the new image by issuing the show version compatibility command.
switch# show version compatibility bootflash:system_image
Step 7
Verify if the standby supervisor module has sufficient space for the new image files.
a.
Attach to the standby module to verify the space requirements.
Attaching to module 6 ...
To exit type 'exit', to abort type '$.'
b.
Change to the bootflash: directory.
switch(standby)# cd bootflash:
c.
Verify if the standby supervisor module has sufficient space for the new image files.
admin 14457344 Jan 29 06:10:18 1980 kickstart-1.0.3
admin 14584832 Jan 30 02:10:02 1980 kickstart_image3
admin 14584832 Jan 31 08:25:21 1980 kickstart_image3a
admin 12288 Jan 29 00:25:33 1980 lost+found/
admin 19189547 Jan 29 06:10:01 1980 system-1.0.3
admin 19200399 Jan 30 02:09:45 1980 system_image3
admin 19153046 Jan 31 08:25:05 1980 system_image3a
Usage for bootflash: filesystem
105803776 bytes total used
186085376 bytes available
d.
Delete files, if required, to make more space for the new image files.
switch(standby)# del kickstart-1.0.3
switch(standby)# del system-1.0.3
e.
Exit the standby supervisor module prompt.
rlogin: connection closed.
Step 8
Ensure that the auto-sync feature is disabled.
a.
Use the show auto-sync command in EXEC mode to verify if this option is configured.
switch# show system auto-sync
If the system auto-sync command is disabled (default), skip to Step 9.
If system auto-sync command is enabled, first disable this option by continuing with Step 8b.
b.
Change to configuration mode.
c.
Disable the auto-sync option on the active supervisor module.
switch(config)# no system auto-sync image
d.
Exit to the EXEC mode.
Step 9
Copy the system and kickstart image files to the standby supervisor module. The following example assumes the standby supervisor module is in slot 6:
switch# copy bootflash:system_image bootflash://sup-2/system_image
switch# copy bootflash:kickstart_image bootflash://sup-2/kickstart_image
Step 10
Use the show version image command to verify the integrity of the image before loading the images. This command can be used for both the system and kickstart images.
switch(boot)# show version image bootflash:system_image <-------system image
image name: m9500-sf1ek9-mz.1.0.3.bin
bios: version v1.0.6(01/27/03)
compiled: 01/25/2003 12:00:00
switch(boot)# show version image bootflash:kickstart_image <--------kickstart image
image name: m9500-sf1ek9-kickstart-mz.1.0.3.upg.bin
kickstart: version 1.0(3)
compiled: 01/25/2003 12:00:00
switch# show version image bootflash:bad_image <---------failure case
Image integrity check failed
Upgrading a Loader
Using the install module slot# of the supervisor module loader command, you can upgrade the (boot) loader.
Note
If the loader is upgraded, you need to reboot to make the new loader effective. You can schedule the reboot at a convenient time so traffic will not be impacted.
Caution ![](../../../../../../../../../../i/templates/blank.gif)
Before issuing this command, be sure to read the release notes to verify compatibility issues between the boot loader and the kickstart or system images.
To upgrade the loader on either the active or standby supervisor module, follow these steps.
Step 1
Use the show version command to verify the version on the active and standby supervisor modules.
Cisco Storage Area Networking Operating System (SAN-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2003 by Cisco Systems, Inc. All rights reserved.
The copyright for certain works contained herein are owned by
Andiamo Systems, Inc. and/or other third parties and are used and
distributed under license.
loader: version 1.0(2) <--------------- current running version
kickstart: version 1.0(3)
BIOS compile time: 01/27/03
kickstart image file is: bootflash:/kickstart_imageu
kickstart compile time: 01/25/2003 12:00:00
system image file is: bootflash:/system_image
system compile time: 01/25/2003 12:00:00
Step 2
Issue the install module command for the required supervisor module (active or standby). This example displays the command being issued for the standby supervisor module in slot 6.
switch# install module 6 loader bootflash:kickstart_image
Note
If you install a loader version that is the same as the currently-installed version, the command will not execute. When both the current version and the installed version are the same, use the init system command to force a loader upgrade.
Step 3
Use the show version command to verify the updated image on the supervisor module.
Cisco Storage Area Networking Operating System (SAN-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2003 by Cisco Systems, Inc. All rights reserved.
The copyright for certain works contained herein are owned by
Andiamo Systems, Inc. and/or other third parties and are used and
distributed under license.
loader: version 1.0(3) [last : 1.0(3)]) <---------------new running version
kickstart: version 1.0(3)
BIOS compile time: 01/27/03
kickstart image file is: bootflash:/kickstart_image
kickstart compile time: 01/25/2003 12:00:00
system image file is: bootflash:/system_image
system compile time: 01/25/2003 12:00:00
bootflash: 503808 blocks (block size 512b)
slot0: 500736 blocks (block size 512b)
switch uptime is 0 days 3 hours 56 minute(s) 6 second(s)
Reason: Watchdog Timeout/External Reset
Upgrading the BIOS
Tip
Refer to the Release Notes to verify if the BIOS has changed for the image version being used.
Program the supervisor or switching module BIOS only if a new BIOS image is provided by Cisco. Only use the provided image to upgrade the BIOS. This command does not affect traffic and can be issued at any time on any switch in the Cisco MDS 9200 Series or Cisco MDS 9500 Series.
Note
If the BIOS is upgraded, reboot to make the new BIOS effective. You can schedule the reboot at a convenient time so traffic will not be impacted.
Caution ![](../../../../../../../../../../i/templates/blank.gif)
The console baud rate automatically reverts to the default rate (9600) after any BIOS upgrade.
To upgrade the BIOS for a module, follow these steps:
Step 1
Use the show version command to verify the current running BIOS version.
Cisco Storage Area Networking Operating System (SAN-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2003 by Cisco Systems, Inc. All rights reserved.
The copyright for certain works contained herein are owned by
Andiamo Systems, Inc. and/or other third parties and are used and
distributed under license.
BIOS: version 1.0(6) <--------------- current running version
kickstart: version 1.0(3)
BIOS compile time: 01/27/03
kickstart image file is: bootflash:/kickstart_image
kickstart compile time: 01/25/2003 12:00:00
system image file is: bootflash:/system_image
system compile time: 01/25/2003 12:00:00
Step 2
Verify that the BIOS version of the system image is different form the running image.
switch# show version image bootflash:system_image detail
image name: m9500-sf1ek9-mz.1.0.3.bin
bios: version v1.0.6(01/27/03) <--------------- BIOS is same version 1.0.6
compiled: 2/28/2003 5:00:00
package name package version
Note
If the version are different, issue the install module command as specified in step 3. If they are the same, you do not need to update the BIOS image.
Step 3
Run the install module slot# bios command to install each module (if required). In this example, the supervisor module in slot 6 was updated.
switch# install module 6 bios system bootflash:system_image
Started bios programming .... please wait
BIOS upgrade succeeded for module 1
Caution ![](../../../../../../../../../../i/templates/blank.gif)
Do not reboot the switch if any errors were indicated in response to this command.
Step 4
Connect to the switching module using the attach module command.
Step 5
Issue the show version command to verify that the module was updated with a the new BIOS version.
switch(standby)# show version
bios: version v1.0.6(01/27/03) <--------------- New BIOS same version
compiled: 2/28/2003 5:00:00
Specifying Kickstart and System Boot Variables
To specify the kickstart and system images in one or both supervisor modules (active and standby), follow these steps:
Step 1
Log into the switch through the console port, an SSH session, or a Telnet session.
Step 2
Change to configuration mode.
Step 3
Specify the kickstart image to be used for the reboot.
switch(config)# boot kickstart bootflash:kickstart_image
Note
You can only specify one image for the KICKSTART variable.
Step 4
Specify the first image (system image).
switch(config)# boot system bootflash:system_image
Step 5
Verify that the Flash device is physically in slot0: before issuing the next command.
Step 6
Specify the second image (kickstart image) for the reboot.
switch(config)# boot system slot0:kickstart_image
Step 7
Change to the EXEC mode.
Step 8
Issue the show boot command, to display the current contents of the SYSTEM variable.
KICKSTART variable = bootflash:/kickstart_image
SYSTEM variable = bootflash:/system_image;
KICKSTART variable = bootflash:/kickstart_image
SYSTEM variable = bootflash:/system_image;
To clear the current contents of the SYSTEM variable in both supervisor modules, use the no boot command.
switch(config)# no boot system
switch# show boot
KICKSTART variable = bootflash:/kickstart_image
KICKSTART variable = bootflash:/kickstart_image
To clear the current contents of the SYSTEM variable in one supervisor module, use the sup-1 or sup-2 options:
switch(config)# no boot system sup-2
switch# show boot
KICKSTART variable = bootflash:/kickstart_image
SYSTEM variable = bootflash:/system_image
KICKSTART variable = bootflash:/kickstart_image
Step 9
Save the new variable configuration so the new image is used the next time you log into the switch.
switch# copy running-config startup-config
Step 10
Reload the standby supervisor module to verify the effect of the new image on the supervisor module and the switching modules in the switch.
This command will reboot the system. (y/n)? y
The reload command reboots the system and updates the variable in one or both supervisor modules automatically. Use the reload command after the configuration information is entered into a file and saved to the startup configuration.
Step 11
Issue the show module command to verify that the supervisor module in Slot 6 is running the new image.
Mod Ports Module-Type Model Status
--- ----- ------------------------------- ------------------ ------------
1 16 1/2 Gbps FC Module DS-X9016 ok
5 0 Supervisor/Fabric-1 DS-X9530-SF1-K9 active *
6 0 Supervisor/Fabric-1 DS-X9530-SF1-K9 ha-standby
9 16 1/2 Gbps FC Module DS-X9016 ok
Mod Sw Hw World-Wide-Name(s) (WWN)
--- ----------- ------ --------------------------------------------------
1 1.0(3) 0.3 20:01:00:05:30:00:13:9e to 20:10:00:05:30:00:13:9e
6 1.0(3) 0.0 -- <--------------- New running version in module 6
9 1.0(3) 0.0 22:01:00:05:30:00:13:9e to 22:10:00:05:30:00:13:9e
Mod MAC-Address(es) Serial-Num
--- -------------------------------------- ----------
1 00-05-30-00-81-6e to 00-05-30-00-81-72 jab063908gj
5 00-05-30-00-84-1a to 00-05-30-00-84-1e jab063909cv
6 00-05-30-00-2c-5e to 00-05-30-00-2c-62
9 00-05-30-00-03-0c to 00-05-30-00-03-10 123
Note
The next time you reboot the switch, the saved image is used. If you do not save the configuration, the previously saved startup configuration image is used.
Performing a System Switchover
A switch in the Cisco MDS 9500 Series has two supervisor modules. For example a Cisco MDS 9509 director has one in slot 5 (sup-1) and one in slot 6 (sup-2). When both supervisor modules power up at the same time, the module in slot 5 enters the active mode, while the second module in slot 6 enters the standby mode.
This procedure assumes that slot 5 contains the currently active supervisor module and slot 6 contains the standby supervisor module.
Tip
Verify that the standby supervisor module has sufficient space to perform this procedure.
To perform a system switchover on a dual supervisor module, follow these steps:
Step 1
Switch over to the standby supervisor module (in slot 6) which becomes the active module.
switch# system switchover
The newly-active supervisor module in slot 6 takes over as the active supervisor.
Note
The previously-active supervisor module in slot 5 reboots automatically.
All incompatible switching modules are automatically detected and upgraded to the same image version as the supervisor modules. All compatible modules must be manually upgraded to be the same version as the supervisor modules.
If you are on a console port, you will see the rebooting messages as the supervisor modules come up.
Note
If you are on a Telnet or SSH session, the session is terminated.
Step 2
Use the show module command to determine if a switching module must be updated.
If the switching module is running an image version that is older than the image version on the supervisor module, that switching module must be updated using this procedure.
Step 3
Issue the install module slot# image command on the affected module.
switch# install module 8 image
SW version of linecard image in Supervisor = 1.0(3)
Module 8 : SW version = 1.0(3) , Image version is same, upgrade is not required
The preceding example displays a module that does not need to be updated. The following example displays a module that requires an update.
switch# install mod 9 image
SW version of linecard image in Supervisor = 1.1(1)
Module 9 : SW version = 1.0(3) , Non disruptive image upgrade is possible
Starting non disruptive upgrade of module 9
Feb 3 02:37:13 switch %LC-2-MSG:SLOT9 LC-2-IMG_DNLD_STARTED: Module image
download process. Please wait until completion...
Feb 3 02:37:33 switch %LC-2-MSG:SLOT9 LC-2-IMG_DNLD_COMPLETE: Module image
download process. Download successful.
Module 9 upgrade successful
This command updates the specified switching module using the image version that is running on the active supervisor module.
Repeat this step for each switching module that must be updated.
Step 4
Issue the show module to verify the module version and the show system redundancy status command to ensure the modules are functioning as required.
Performing a Manual Upgrade on a Single Supervisor Switch
This procedure can be performed on any switch in the Cisco MDS 9200 Series. While it can also be performed on any Cisco MDS 9500 Series switch that has only one supervisor module, this is not recommended.
To manually upgrade a switch with a single supervisor module, follow these steps:
Step 1
Update the boot variables on the supervisor modules (see the "Specifying Kickstart and System Boot Variables" section).
Step 2
Issue the show version compatibility command to view the effects of an installation.
switch# show version compatibility bootflash:system_image
Version comparison between /bootflash/system_image and running-image:
Mod No Mod Type SRG Compare Result
1 FC/SUP Non-Disruptive upgrade is possible
2 LC Linecard version is compatible
Step 3
Copy the software image from a remote location to the bootflash: directory.
switch# copy scp://171.00.16.26//tftpboot/NDrel/qa/excal/final/kickstart_image
bootflash:kickstart_image
user@171.00.16.26's password:
m9200-ek9-kickstart- 100% |*****************************| 14219 KB 00:16
Step 4
Verify that the file was copied in the required directory.
root 1024 Dec 31 16:04:53 1979 .ssh/
root 1024 Dec 31 16:04:53 1979 .ssh2/
admin 524288 Jan 21 15:31:51 2003 MC1118.BIN
admin 14552064 Feb 05 19:27:11 1980 kick-1.0.2.33a
admin 14560256 Feb 14 11:32:30 1980 kick-1.0.2.37a
admin 14560256 Feb 14 11:16:56 1980 kick-1.0.2.37au
root 12288 Dec 31 16:04:42 1979 lost+found/
admin 19003669 Feb 05 19:28:11 1980 system-1.0.2.33a
admin 18967721 Feb 14 11:31:18 1980 system-1.0.2.37a
admin 18927679 Feb 14 11:19:20 1980 system-1.0.2.37au
Usage for bootflash: filesystem
105733120 bytes total used
186085376 bytes available
Step 5
Ensure that the software images are not damaged or corrupted in the saved bootflash: location.
When copying a new image to your switch, you should confirm that the image was not corrupted during the copy process.
Use the show version image command to verify that the required image was copied successfully.
switch# show version image bootflash:kickstart_image
image name: m9200-ek9-kickstart
kickstart: version 1.0(3)
compiled: 2/12/2003 11:00:00
Note
A verification failed message is generated when you use a Cisco MDS 9500 Series image on a Cisco MDS 9200 Series switch or a Cisco MDS 9200 Series image on a Cisco MDS 9500 Series switch. Be sure to verify the right image.
Step 6
Issue the install all command on the supervisor module.
Note
If you install a loader version that is the same as the currently-installed version, the command will not execute. When both the current version and the installed version are the same, use the init system command to force a loader upgrade.
switch# install all system bootflash:system_image kickstart bootflash:kickstart_image
Image verification is in progress, please wait.
This command is going to install system image m9200-ek9-mz.1.0.2.37a.bin
and kickstart image m9200-ek9-kickstart-mz.1.0.2.37a.bin
- Install the Loader, if required
- Install the BIOS, if required
Do you want to continue y/n ? [n] : y
Installing Loader, please wait.
Installing Loader on module 1 ... not required (same version)
Installing BIOS, please wait.
Installing BIOS on module 1 ... not required (same version)
Updating boot variables .. successful
Saving configuration, please wait.
Synchronizing with Firmbase...
General Software Firmbase[r] SMM Kernel 1.1.1002 Oct 11 2002 13:36:57
Copyright (C) 2002 General Software, Inc.
00000589K Low Memory Passed
00979840K Ext Memory Passed
General Software Pentium III Embedded BIOS 2000 (tm) Revision 1.0.(6)
(C) 2002 General Software, Inc.ware, Inc.
Pentium III-1.0-6E69-AA6E
+------------------------------------------------------------------------------+
| System BIOS Configuration, (C) 2002 General Software, Inc. |
+---------------------------------------+--------------------------------------+
| System CPU : Pentium III | Low Memory : 630KB |
| Coprocessor : Enabled | Extended Memory : 957MB |
| Embedded BIOS Date : 01/27/03 | ROM Shadowing : Enabled |
+---------------------------------------+--------------------------------------+
Loader loading, please wait...
Auto booting bootflash:/kick-1.0.2.37a bootflash:/system-1.0.2.37a;...
Booting kickstart image: bootflash:/kick-1.0.2.37a....
............................................Image verification OK
INIT: version 2.78 booting
Checking all filesystems..... done.
Uncompressing system image: bootflash:/system-1.0.2.37a
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
Uncompressing linecard components
INIT: Entering runlevel: 3
Step 7
Use the show version command to verify the updated image on the supervisor module.
Cisco Storage Area Networking Operating System (SAN-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2003 by Cisco Systems, Inc. All rights reserved.
The copyright for certain works contained herein are owned by
Andiamo Systems, Inc. and/or other third parties and are used and
distributed under license.
loader: version 1.0(2.37a)
kickstart: version 1.0(3) [build 1.0(2.37a)]
system: version 1.0(3) [build 1.0(2.37a)]
BIOS compile time: 01/27/03
kickstart image file is: bootflash:/kick-1.0.2.37a
kickstart compile time: 3/6/2003 12:00:00
system image file is: bootflash:/system-1.0.2.37a
system compile time: 3/6/2003 12:00:00
bootflash: 503808 blocks (block size 512b)
slot0: 0 blocks (block size 512b)
switch uptime is 0 days 0 hour 2 minute(s) 36 second(s)
Last reset at 433817 usecs after Thu Feb 14 11:34:31 1980
Reason: Reset Requested by CLI command reload
Step 8
Use the show module command to determine if the switching module must be updated.
If the switching module is running an image version that is older than the image version on the supervisor module, that switching module must be updated. If the switching module image is not compatible with the supervisor module image, the switching module image will be automatically updated.
Step 9
Issue the install module slot# image command on the affected module. The following example displays a module that does not need to be updated.
switch# install module 2 image
SW version of linecard image in Supervisor = 1.0(4u)
Module 2 : SW version = 1.0(4u) , Image version is same, upgrade is not required
The following example displays a module that needs to be updated.
switch# install mod 2 image
SW version of linecard image in Supervisor = 1.0(3)
Module 2 : SW version = 1.0(4u) , Non disruptive image upgrade is possible
Starting non disruptive upgrade of module 2
Feb 3 02:37:13 switch %LC-2-MSG:SLOT2 LC-2-IMG_DNLD_STARTED: Module image
download process. Please wait until completion...
Feb 3 02:37:33 switch %LC-2-MSG:SLOT2 LC-2-IMG_DNLD_COMPLETE: Module image
download process. Download successful.
Module 2 upgrade successful
This command updates the specified switching module using the image version that is running on the active supervisor module.
Quick, One-Step Upgrade
To perform a quick, one-step upgrade on a Cisco MDS 9000 Family switch, follow these steps:
Step 1
Copy the kickstart and system image files to the required location (see the "Copying Files" section).
Step 2
Set the boot variables (see the "Specifying Kickstart and System Boot Variables" section).
Step 3
Issue the reload command. The reload command reboots the system. This upgrade is disruptive.
Recovering a Corrupted Bootflash
All switch configurations reside in the internal bootflash. If you have a corrupted internal bootflash, you could potentially lose your configuration. Be sure to save and back up your configuration files periodically.
The regular switch boot goes through the following sequence (see Figure 5-2):
1.
The basic input/output system (BIOS) loads the boot loader.
2.
The boot loader loads the kickstart image into RAM and starts the kickstart image.
3.
The kickstart image loads and starts the system image.
4.
The system image reads the startup configuration file.
Figure 5-2 Regular Boot Sequence
If the images on your switch are corrupted and you are not able to proceed (error state), you can determine the reason and attempt to interrupt the switch boot sequence and recover the image by entering the BIOS configuration utility described in the following section. Access this utility only when needed to recover a corrupted internal disk.
Caution ![](../../../../../../../../../../i/templates/blank.gif)
The BIOS changes explained in this section are required only if you need to recover a corrupted bootflash.
Recovery procedures require the regular sequence to be interrupted. The internal switch sequence goes through four phases between the time you turn the switch on and the time the switch prompt appears on your terminal—BIOS, boot loader, Kickstart, and system (see Table 5-1 and Figure 5-3).
Table 5-1 Recovery Interruption
Phase
|
|
|
Description
|
BIOS
|
|
|
The BIOS begins the power-on self test, memory test, and other operating system applications. While the test is in progress, press Ctrl-C to enter the BIOS configuration utility and use the netboot option.
|
Boot loader
|
|
|
The boot loader uncompresses loaded software to boot an image using its file name as reference. These images are made available through bootflash. When the memory test is over, press Esc to enter the boot loader prompt.
|
Kickstart
|
|
|
When the boot loader phase is over, press Ctrl-] (Control key plus right bracket key) to enter the switch(boot)# prompt. If the corruption causes the console to stop at this prompt, copy the system image and reboot the switch.
|
System
|
|
|
The system image loads the configuration file of the last saved running configuration and returns a switch login prompt.
|
Figure 5-3 Regular and Recovery Sequence
Recovery Using BIOS Setup
To recover a corrupted bootflash image (no bootable device found message) for a switch with a single supervisor module, follow these steps:
Step 1
Connect to the console port of the required switch.
Step 2
Boot or reboot the switch.
Step 3
Press Ctrl-C to interrupt the BIOS setup during the BIOS memory test.
You see the netboot BIOS Setup Utility screen (see Figure 5-4).
Figure 5-4 BIOS Setup Utility
Note
Your navigating options are provided at the bottom of the screen.
Tab = Jump to next field
Ctrl-E = Down arrow
Ctrl-X = Up arrow
Ctrl-H = Erase (Backspace might not work if your terminal is not configured properly.)
Step 4
Press the Tab key to select the Basic CMOS Configuration, and press Enter.
You see the BIOS setup CMOS Configuration screen (see Figure 5-5).
Figure 5-5 BIOS Setup Configuration (CMOS)
Step 5
Change the "Boot 1st:" field to TFTP.
Step 6
Press the Tab key until you reach the local IP Address field.
Step 7
Enter the local IP address for the switch, and press the Tab key.
Step 8
Enter the subnet mask for the IP address, and press the Tab key.
Step 9
Enter the IP address of the default gateway, and press the Tab key.
Step 10
Enter the IP address of the TFTP server, and press the Tab key.
Step 11
Enter the image name (kickstart), and press the Tab key. This path should be relative to the TFTP server root directory.
Caution ![](../../../../../../../../../../i/templates/blank.gif)
The file name must be entered exactly as it is displayed on your TFTP server. For example, if you have a file name
MDS9500-kiskstart_mzg.10, then enter this name using the exact upper case characters and file extensions as shown on your TFTP server.
You see the configured changes (see Figure 5-6).
Figure 5-6 BIOS Setup Configuration (CMOS) Changes
Step 12
Press the Esc key to return to the main menu.
Step 13
Choose Write to CMOS and Exit from the main screen to save your changes.
Note
These changes are saved in the CMOS.
Caution ![](../../../../../../../../../../i/templates/blank.gif)
The switch must have IP connectivity to reboot using the newly configured values.
You are placed at the following prompt:
Step 14
Enter the init system command at the switch(boot) prompt, and press Enter.
switch(boot)# init system
The switch(boot)# prompt indicates that you have a usable kickstart image.
Note
The init system command also installs a new loader from the existing (running) kickstart image.
Step 15
Follow the procedure specified in the "Recovery from the switch(boot)# Prompt" section.
Recovery from the loader> Prompt
To recover a corrupted kickstart image (system error state) for a switch with a single supervisor module, follow these steps:
Step 1
Press the Esc key to interrupt the boot loader setup after the BIOS memory test.
Note
Press Esc immediately after you see the following message:
00000589K Low Memory Passed
00000000K Ext Memory Passed
Hit ^C if you want to run SETUP....
Wait.....
If you wait too long, you will skip the boot loader phase and enter the kickstart phase.
You see the loader> prompt.
Caution ![](../../../../../../../../../../i/templates/blank.gif)
The loader> prompt is different from the regular switch# or switch(boot)# prompt. The CLI command completion feature does not work at this prompt and may result in undesired errors. You must type the command exactly as you want the command to appear.
Step 2
Enter the local IP address and the subnet mask for the switch, and press Enter.
loader> ip address 172.16.1.2 255.255.255.0
Found Intel EtherExpressPro100 82559ER at 0xe800, ROM address 0xc000
Probing...[Intel EtherExpressPro100 82559ER]Ethernet addr: 00:05:30:00:52:27
Step 3
Enter the IP address of the default gateway, and press Enter.
loader> ip default-gateway 172.16.1.1
Step 4
Boot the kickstart image file from the required TFTP server, and press Enter.
loader> boot tftp://172.16.10.100/kickstart-latest
Booting: /kick-282 console=ttyS0,9600n8nn quiet loader_ver="1.0(2)"....
............................................Image verification OK
INIT: version 2.78 booting
Checking all filesystems..... done.
WARNING: image sync is going to be disabled after a loader netboot
INIT: Sending processes the TERM signal
Sending all processes the TERM signal... done.
Sending all processes the KILL signal... done.
Entering single-user mode...
INIT: Sending processes the TERM signal
The switch(boot)# prompt indicates that you have a usable Kickstart image.
Step 5
Copy the system and kickstart images again.
switch(boot)# copy tftp://172.16.10.100/system-img bootflash:system-img
Trying to connect to tftp server......
switch(boot)# copy tftp://172.16.10.100/system-img bootflash:kickstart-img
Trying to connect to tftp server......
Step 6
Follow the procedure specified in the "Recovery from the switch(boot)# Prompt" section.
Recovery from the switch(boot)# Prompt
To recover a system image using the kickstart image for a switch with a single supervisor module, follow these steps:
Step 1
Follow this step if you issued a init system command. Otherwise, skip to Step 2.
a.
Change to configuration mode and configure the IP address of the switch's mgmt0 interface.
switch(boot)(config)# interface mgmt0
b.
Enter the local IP address and the subnet mask for the switch, and press Enter.
switch(boot)(config-mgmt0)# ip address 172.16.1.2 255.255.255.0
Step 2
Issue the no shut command to enable the interface on the switch, and press Enter.
switch(boot)(config-mgmt0)# no shut
Step 3
Follow this step if you issued a init system command. Otherwise, skip to Step 4.
a.
Enter the IP address of the default gateway, and press Enter.
switch(boot)(config-mgmt0)# ip default-gateway 172.16.1.1
Step 4
Exit to EXEC mode.
switch(boot)(config-mgmt0)# end
Step 5
Copy the system image from the required TFTP server, and press Enter.
switch(boot)# copy tftp://172.16.10.100/system-img bootflash:system-img
Trying to connect to tftp server......
Step 6
Copy the kickstart image from the required TFTP server, and press the Enter key.
switch(boot)# copy tftp://172.16.10.100/system-img bootflash:kickstart-img
Trying to connect to tftp server......
Step 7
Verify that the system and kickstart image files are copied to your bootflash: directory.
switch(boot)# dir bootflash:
root 524288 Dec 31 16:07:52 1979 additionalfile1
admin 13777408 Feb 13 07:20:07 2003 kickstart_image
admin 1199287 Feb 12 10:12:43 2003 debug-plugin
admin 104 Jan 20 11:49:56 2003 flt
admin 24991890 Feb 13 07:20:37 2003 system_image
root 12288 Dec 10 18:23:47 2002 lost+found/
root 43 Dec 24 15:02:57 2002 test.flt
Usage for bootflash: filesystem
84705280 bytes total used
432293888 bytes available
Step 8
Load the system image from the bootflash: directory:
switch(boot)# load bootflash:system_image
Uncompressing system image: bootflash:/system_image
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
Would you like to enter the initial configuration mode?(yes/no): yes
See the "Initial Setup Routine" section.
Note
If you enter no at this point, you will return to the switch# login prompt, and you must manually configure the switch.
Recognizing Error States
If you see the error messages displayed in Figure 5-7 or Figure 5-8, follow the procedure specified in the "Recovery Using BIOS Setup" section.
Figure 5-7 Error State if Powered On and Ctrl-C is Entered
Figure 5-8 Error State if Powered On and Esc is Pressed
Recovery for Switches with Dual Supervisor Modules
If one supervisor module is functioning and the other is not, boot the functioning supervisor module. Then use the booted supervisor module to bring up the supervisor module that is stuck. Issue the reload module slot force-dnld command (after you log into the switch) where slot is the slot number of the stuck supervisor module.
If both supervisor modules are not functioning, treat it like a single supervisor module recovery. First recover the image on one supervisor module and then follow the single supervisor recovery process.
Note
If the auto-sync option is disabled, the supervisor modules will not synchronize automatically. In this case, enable the auto-sync option before issuing the reload module slot force-dnld command. Once the synchronization is complete, disable this option.
Replacing a Faulty Supervisor Module
The auto-sync option is disabled by default. If you are replacing a faulty supervisor module, ensure that the auto-sync option is enabled so the software versions on both modules synchronize automatically.
To replace a faulty supervisor module in a Cisco MDS 9500 Series switch, follow these steps:
Step 1
Create a backup of your existing configuration file, if required (see the "Saving the Configuration" section).
Step 2
Use the show auto-sync command in EXEC mode to verify if this option is enabled.
If the system auto-sync command is disabled (default), enable this option by continuing with Step 3.
If the system auto-sync command is already enabled, skip to Step 4.
Step 3
Change to configuration mode and enable the auto-sync option.
switch(config)# system auto-sync image
Step 4
Replace the faulty supervisor module as specified in the Cisco MDS 9500 Series Hardware Installation Guide.
Step 5
Wait till the new supervisor module is online and then ensure that the synchronization was successful using the show system auto-sync command.
switch(config)# do show system auto-sync
auto-sync successfully completed
Step 6
Disable the auto-sync option on the active supervisor module.
switch(config)# no system auto-sync image
Step 7
Exit to the EXEC mode.
Default Factory Settings
Table 5-2 lists the default settings for all Cisco MDS 9000 Family switches.
Table 5-2 Default Factory Settings
Parameters
|
Default
|
auto-sync image option
|
Disabled
|
Kickstart image
|
No image is specified
|
System image
|
No image is specified
|