Cisco Exams

Nondisruptive Upgrade on a Cisco MDS Fabric Switch

Let’s first look at the process for a nondisruptive upgrade on a Cisco MDS fabric switch.

Before performing an upgrade, use the show install all impact command to view the effect of updating the system from the running image to another specified image.

Step 1. Verify that the system image files for the upgrade are present on the active supervisor module bootflash:

switch# dir bootflash:

25863680 Sep 23 12:02:16 2017 m9250-s5ek9-kickstart-mz.8.2.1.bin
25864704 Sep 05 12:21:26 2018 m9250-s5ek9-kickstart-mz.8.2.1.bin
25869312 Apr 01 12:29:34 2018 m9250-s5ek9-kickstart-mz.8.2.2.bin
25869312 Apr 12 01:55:22 2018 m9250-s5ek9-kickstart-mz.8.2.2.bin
25947136 Nov 09 13:41:43 2018 m9250-s5ek9-kickstart-mz.8.3.1.bin
25970176 Jan 17 14:10:47 2019 m9250-s5ek9-kickstart-mz.8.3.2.bin
26126848 May 07 11:51:20 2019 m9250-s5ek9-kickstart-mz.8.4.1.bin

Usage for bootflash://sup-local

2838728704 bytes used
520916992 bytes free
3359645696 bytes total

Step 2. If the software image file is not present, download it from an FTP or TFTP server to bootflash. You can obtain the software image file from the Cisco.com Software Download Center at http://www.cisco.com/cisco/software/navigator.html.

switch# copy
tftp://tftpserver.cisco.com/MDS/m9250-s5ek9-kickstart-mz.8.4.1.bin
bootflash:m9250-s5ek9-kickstart-mz.8.4.1.bin
switch# copy tftp://tftpserver.cisco.com/MDS/m9250-s5ek9-mz.8.4.1.bin
bootflash:m9250-s5ek9-mz.8.4.1.bin

Step 3. Ensure that the required space is available on the switch:

switch# dir bootflash:
25863680 Sep 23 12:02:16 2017 m9250-s5ek9-kickstart-mz.8.2.1.bin
25864704 Sep 05 12:21:26 2018 m9250-s5ek9-kickstart-mz.8.2.1.bin
25869312 Apr 01 12:29:34 2018 m9250-s5ek9-kickstart-mz.8.2.2.bin
25869312 Apr 12 01:55:22 2018 m9250-s5ek9-kickstart-mz.8.2.2.bin
25947136 Nov 09 13:41:43 2018 m9250-s5ek9-kickstart-mz.8.3.1.bin
25970176 Jan 17 14:10:47 2019 m9250-s5ek9-kickstart-mz.8.3.2.bin
26126848 May 07 11:51:20 2019 m9250-s5ek9-kickstart-mz.8.4.1.bin

Usage for bootflash://sup-local
120695976 bytes used
63863640 bytes free
184559616 bytes total

Step 4. If you need more space on the switch, delete the files that are not required:

switch# delete bootflash: m9250-s5ek9-kickstart-mz.8.2.1.bin
switch# delete bootflash: m9250-s5ek9-kickstart-mz.8.2.1.bin

Step 5. Save the configuration using the copy running-config startup-config command:

switch# copy running-config startup-config

You can also back up your existing configuration to a file, using the copy running-config bootflash:backup_config.txt command. You can add a date reference to the .txt filename to identify the file later.

Step 6. Perform the upgrade by running the install all command:

switch# install all kickstart m9250-s5ek9-kickstart-mz.8.4.1.bin system
m9250-s5ek9-mz.8.4.1.bin
Installer will perform compatibility check first. Please wait.
y
Verifying image bootflash:/m9250-s5ek9-kickstart-mz.8.4.1.bin for boot
variable “kickstart”.
[# ] 0%
[####################] 100% — SUCCESS
Verifying image bootflash:/m9250-s5ek9-mz.8.4.1.bin for boot variable
“system”.
[####################] 100% — SUCCESS
Performing module support checks.
[####################] 100% — SUCCESS
Verifying image type.
[####################] 100% — SUCCESS
Extracting “system” version from image
bootflash:/m9250-s5ek9-mz.8.4.1.bin
[####################] 100% — SUCCESS
Extracting “kickstart” version from image
bootflash:/m9250-s5ek9-kickstart-mz.8.4.1.bin
[####################] 100% — SUCCESS
Extracting “bios” version from image bootflash:/m9250-s5ek9-mz.8.4.1.bin
[####################] 100% — SUCCESS
Performing Compact Flash and TCAM sanity test.
[####################] 100% — SUCCESS
Notifying services about system upgrade.
[####################] 100% — SUCCESS
Compatibility check is done:
Module bootable Impact Install-type   Reason
        ——  ——–  ——  ————–  ——
        1                yes    non-disruptive reset

        Other miscellaneous information for installation:
        Module info
        —— ———————————-
        1      FC ports 1-40 and FCoE ports 1-8 are hitless, IPS 1-2 are
hitful,
               and Intelligent Applications running are hitful

        Images will be upgraded according to following table:
        Module Image      Running-Version             New-Version
Upg-Required
        —— —–      —————             ————
———–
        1      system     8.1(1)                      8.4(1)       yes
        1      kickstart  8.1(1)                      8.4(1)       yes
        1      bios       v2.1.17(01/08/14):v2.1.17(01/08/14)
v2.1.17(01/08/14) no


Do you want to continue with the installation (y/n)? [n] y
Install is in progress, please wait.
Performing runtime checks.
[####################] 100% — SUCCESS
Notifying services about the upgrade.
[####################] 100% — SUCCESS
Setting boot variables.
[####################] 100% — SUCCESS
Performing configuration copy.
[####################] 100% — SUCCESS
Module 1: Refreshing compact flash and Upgrading bios/loader/bootrom/power-seq.
Warning: please do not remove or power off the module at this time.
[####################] 100% — SUCCESS
Upgrade can no longer be aborted, any failure will result in a disruptive
upgrade.
Freeing memory in the file system.
[####################] 100% — SUCCESS
Loading images into memory.
[####################] 100% — SUCCESS
Saving linecard runtime state.
[####################] 100% — SUCCESS
Saving supervisor runtime state.
[####################] 100% — SUCCESS
Saving mts state.
[####################] 100% — SUCCESS
Reloading the kernel to proceed with the upgrade.
<output omitted>
Loading system software
Uncompressing system image: bootflash:///m9250-s5ek9-mz.8.4.1.bin
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
Load plugins that defined in image conf: /isan/plugin_img/img.conf
<output omitted>Continuing with installation process, please wait.
The login will be disabled until the installation is completed.
Status for linecard upgrade.
[####################] 100% — SUCCESS
Performing supervisor state verification.
[####################] 100% — SUCCESS
Supervisor non-disruptive upgrade successful.
Install has been successful.

Step 7. Log in to the switch:

MDS Switch
x.x.x.x login: admin
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2014, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php

Step 8. Run the show version command to verify the upgraded image version:

switch# show version
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Documents: http://www.cisco.com/en/US/products/ps9372/
tsd_products_support_series_home.html
Copyright (c) 2002-2019, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained herein are owned by
other third parties and are used and distributed under license.
Some parts of this software are covered under the GNU Public
License. A copy of the license is available at
http://www.gnu.org/licenses/gpl.html.
Software
BIOS: version 2.1.17
loader: version N/A
kickstart: version 8.4(1) [build 8.4(1)]
system: version 8.4(1) [build 8.4(1)]
BIOS compile time: 01/08/14
kickstart image file is: bootflash:///m9250-s5ek9-kickstart-mz.8.4.1.bin
kickstart compile time: 6/1/2019 23:00:00 [05/07/2019 04:18:10]
486system image file is: bootflash:///m9250-s5ek9-mz.8.4.1.bin
system compile time: 6/1/2019 23:00:00 [05/07/2019 07:09:57]
Hardware
cisco MDS 9250i 40 FC 2 IPS 8 FCoE (2 RU) Chassis (“40FC+8FCoE+2IPS
Supervisor”)
Motorola, e500v2 with 4088636 kB of memory.
Processor Board ID JAF1804AAFG
Device name: MDS9250i
bootflash: 4001760 kB
Kernel uptime is 0 day(s), 0 hour(s), 7 minute(s), 42 second(s)
Last reset at 288238 usecs after Thu May 9 11:40:56 2019
Reason: Reset due to upgrade
System version: 8.1(1)
Service:
plugin
Core Plugin

Step 9. Verify the status of the modules on the switch, using the show module command:

switch# show module

Mod Ports Module-Type                Model            Status
— —– ————————– —————  ———
1   50    40FC+8FCoE+2IPS Supervisor DS-C9250I-K9-SUP  active *
Mod Sw     Hw    World-Wide-Name(s) (WWN)
— —–  —-  —————————————————
1   8.4(1) 1.0   20:01:00:2a:6a:1b:64:d0 to 20:28:00:2a:6a:1b:64:d0
Mod MAC-Address(es)                          Serial-Num
— ————————————–   ————
1   b8-38-61-4a-25-c0 to b8-38-61-4a-25-cf   JAF1804AAFG

Step 10. To display the status of a nondisruptive upgrade on a fabric switch, use the show install all status command. The command output displays the status only after the switch has rebooted with the new image. All the actions preceding the reboot are not captured in this output because when you enter the install all command using a Telnet session, the session is disconnected when the switch reboots. When you reconnect to the switch through a Telnet session, the upgrade may already be complete, in which case, the output displays the status of the upgrade.

switch# show install all status

This is the log of last installation.

Continuing with installation process, please wait.
The login will be disabled until the installation is completed.

Status for linecard upgrade.
— SUCCESS

Performing supervisor state verification.
— SUCCESS

Install has been successful

Leave a Reply

Your email address will not be published. Required fields are marked *