Jul 23, 2015

Cisco MDS SAN Switch - Upgrade Firmware

1. Prepare

Backup
Take a backup of your configuration. Firstly ensure that your running configuration has been applied to the startup-config:
  • copy running-config startup-config
Then backup your startup configuration. In this example we are backing up to an ftp server:
  • copy system:startup-config ftp://FTPserver_IP/startup-config.cfg
Healthy Check

#show system health stat
Test statistics for module 1
------------------------------------------------------------------------------
Test Name         State       Frequency     Run      Pass      Fail CFail Errs
------------------------------------------------------------------------------
InBand            Running         5s    1034796   1034796         0     0    0
Bootflash         Running        10s     517398    517398         0     0    0
Management Port   Running         5s    1034796   1034796         0     0    0
Loopback          Running         5s    1034796   1034796         0     0    0
Tcam              Running         1d         60        60         0     0    0
------------------------------------------------------------------------------

Version Check

#show version
Software
  BIOS:      version 1.0.21
  loader:    version N/A
  kickstart: version 5.0(1a)
  system:    version 5.0(1a)
  BIOS compile time:       01/27/14
  kickstart image file is: bootflash:/m9100-s3ek9-kickstart-mz.5.0.1a.bin
  kickstart compile time:  12/25/2020 12:00:00 [02/22/2010 03:09:44]
  system image file is:    bootflash:/m9100-s3ek9-mz.5.0.1a.bin
  system compile time:     2/2/2010 17:00:00 [02/22/2010 06:13:41]
Hardware
  cisco MDS 9148 FC (1 Slot) Chassis ("1/2/4/8 Gbps FC/Supervisor-3")
  Motorola, e500v2  with 1036308 kB of memory.
  Processor Board ID JAF1904AGCR
  Device name: HLC9102SC03SANSW02
  bootflash:    1001952 kB
Kernel uptime is 59 day(s), 21 hour(s), 23 minute(s), 22 second(s)
Last reset at 69355 usecs after  Thu Apr 16 16:38:38 2015
  Reason: Reset Requested by CLI command reload
  System version: 5.0(1a)
  Service:

#show module
`Mod  Ports  Module-Type                      Model              Status
---  -----  -------------------------------- ------------------ ------------
1    48     1/2/4/8 Gbps FC/Supervisor-3     DS-C9148-K9-SUP    active *

Mod  Sw              Hw      World-Wide-Name(s) (WWN)
---  --------------  ------  --------------------------------------------------
1    5.0(1a)         1.2     20:01:00:2a:6a:bd:e8:c0 to 20:30:00:2a:6a:bd:e8:c0


Licensen Check

#show license usage
Feature                      Ins  Lic   Status Expiry Date Comments
                                 Count
--------------------------------------------------------------------------------
FM_SERVER_PKG                 No    -   Unused             -
ENTERPRISE_PKG                No    -   Unused             -
PORT_ACTIVATION_PKG           No   16   In use never       -
--------------------------------------------------------------------------------

BootFlash Check

# dir bootflash:
      12288     Aug 26 19:06:14 2008  lost+found/
   16206848     Jul 01 10:54:49 2008  m9500-sf2ek9-kickstart-mz.3.1.3.bin
   16604160     Jul 01 10:20:07 2008  m9500-sf2ek9-kickstart-mz.3.3.1c.bin
   78337129     Jul 01 10:33:52 2008  m9500-sf2ek9-mz.3.1.3.bin
   78718938     Jul 01 10:18:09 2008  m9500-sf2ek9-mz.3.3.1c.bin

Usage for bootflash://sup-local
  122811392 bytes used
   61748224 bytes free
  184559616 bytes total

2. Upgrade

Copy Firmware to MDS

#copy tftp://user@IPserver1_Address/m9100-s3ek9-kickstart-mz.5.2.8d.bin bootflash:m9100-s3ek9-kickstart-mz.5.2.8d.bin
#copy tftp://user@IPserver1_Address/m9100-s3ek9-mz.5.2.8d.bin bootflash:m9100-s3ek9-mz.5.2.8d.bin

Check

# dir bootflash:
      12288     Aug 26 19:06:14 2008  lost+found/
   16206848     Jul 01 10:54:49 2008  m9500-sf2ek9-kickstart-mz.3.1.3.bin
   16604160     Jul 01 10:20:07 2008  m9500-sf2ek9-kickstart-mz.3.3.1c.bin
   78337129     Jul 01 10:33:52 2008  m9500-sf2ek9-mz.3.1.3.bin
   78718938     Jul 01 10:18:09 2008  m9500-sf2ek9-mz.3.3.1c.bin


# show version image bootflash:m9100-s3ek9-kickstart-mz.5.2.8d.bin

  MD5 Verification Passed
  image name: m9100-s3ek9-kickstart-mz.5.2.8d.bin
  kickstart:  version 5.2(8d)
  compiled:   12/25/2020 12:00:00 [04/09/2014 02:34:23]


Upgrade

switch# install all system bootflash:m9100-s3ek9-mz.5.2.8d.bin kickstart bootflash:m9100-s3ek9-kickstart-mz.5.2.8d.bin



Verifying image bootflash:/m9100-s3ek9-kickstart-mz.5.2.8d.bin for boot variable "kickstart".

[####################] 100% -- SUCCESS



Verifying image bootflash:/m9100-s3ek9-mz.5.2.8d.bin for boot variable "system".

[####################] 100% -- SUCCESS



Verifying image type.

[####################] 100% -- SUCCESS



Extracting "system" version from image bootflash:/m9100-s3ek9-mz.5.2.8d.bin.

[####################] 100% -- SUCCESS



Extracting "kickstart" version from image bootflash:/m9100-s3ek9-kickstart-mz.5.2.8d.bin.

[####################] 100% -- SUCCESS



Extracting "bios" version from image bootflash:/m9100-s3ek9-mz.5.2.8d.bin.

[####################] 100% -- SUCCESS



Performing Compact Flash and TCAM sanity test.

[####################] 100% -- SUCCESS



Performing module support checks.

[####################] 100% -- SUCCESS



Notifying services about system upgrade.

[####################] 100% -- SUCCESS







Compatibility check is done:

Module  bootable          Impact  Install-type  Reason

------  --------  --------------  ------------  ------

     1       yes  non-disruptive         reset 







Images will be upgraded according to following table:

Module       Image        Running-Version(pri:alt)   New-Version  Upg-Required

------  ----------  ------------------------------  ------------  ------------

     1      system                         5.2(8c)       5.2(8d)           yes

     1   kickstart                         5.2(8c)       5.2(8d)           yes

     1        bios              v1.0.19(02/01/10):

                                 v1.0.19(02/01/10)    

     v1.0.19(02/01/10)            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.

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



Rebooting the switch to proceed with the upgrade.
All telnet and ssh connections will now be temporarily terminated.

3. Usefull Link




1 comment:

  1. i want ios image of MDS 9124 multilayer fabric switch

    ReplyDelete