User Tools

Site Tools


storage:cisco_fw

NX-OS (or SAN-OS, before v4.1) firmware upgrade

<box 100% green | Before starting, check the current firmware level:></box>

mds9222i-1# show version
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2008, 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 1.0.15
loader: version N/A
kickstart: version 4.1(1) [build 4.1(0.182)] [gdb]
system: version 4.1(1) [build 4.1(0.182)] [gdb]
BIOS compile time: 07/16/08
kickstart image file is: 
bootflash:/m9200-s2ek9-kickstart-mzg.4.1.0.182.bin
kickstart compile time: 10/12/2020 25:00:00 [08/15/2008 18:42:09]
system image file is: bootflash:/m9200-s2ek9-mzg.4.1.0.182.bin
system compile time: 12/25/2010 12:00:00 [08/15/2008 20:03:21]
Hardware
cisco MDS 9222i ("4x1GE IPS, 18x1/2/4Gbps FC/Sup2")
Motorola, e500v2 with 1036512 kB of memory.
Processor Board ID JAE12088ZMT
Device name: mds9222i-1
bootflash: 1000440 kB
Kernel uptime is 0 day(s), 0 hour(s), 3 minute(s), 38 second(s)
Last reset at 970000 usecs after Wed Sep 17 00:31:49 2008
Reason: Reset Requested by CLI command reload
System version: 4.1(1)
Service:

<box 100% green | Backup the current configuration on an ftp or scp server:></box>

mds9222i-1# copy running-config ftp://9.43.86.49/jaco/backup
Enter username: jaco
Password:

<box 100% green | You can use ftp, tftp, or scp to copy the firmware to your switch:></box>

mds9222i-1# copy ftp://9.43.86.49/jaco/4.1.1/m9200-s2ek9-kickstart-mz.4.1.1.bin bootflash:
Enter username: jaco
File transfer in progress, please wait ...
Password:
mds9222i-1# copy ftp://9.43.86.49/jaco/4.1.1/m9200-s2ek9-mz.4.1.1.bin bootflash:
Enter username: jaco
File transfer in progress, please wait ...
Password:

<box 100% green | Check the files that have been uploaded to Cisco:></box>

mds9222i-1# dir bootflash:
...
19542528 Sep 17 00:41:54 2008 m9200-s2ek9-kickstart-mz.4.1.1.bin
101905006 Sep 17 00:42:45 2008 m9200-s2ek9-mz.4.1.1.bin
...

<box 100% green | Apply kickstart and firmware at same time:></box>

mds9222i-1# install all system bootflash:m9200-s2ek9-mz.4.1.1.bin kickstart bootflash:m9200-s2ek9-kickstart-mz.4.1.1.bin
Verifying image bootflash:/m9200-s2ek9-kickstart-mz.4.1.1.bin for boot variable 
"kickstart".
[********************] 100% -- SUCCESS
.....
Notifying services about system upgrade. 
[********************] 100% -- SUCCESS
Compatibility check is done:
Module bootable Impact Install-type Reason
------ -------- -------------- ------------ ------
1 yes non-disruptive none
2 yes non-disruptive none
Do you want to continue with the installation (y/n)? [n] y
Install is in progress, please wait.
Setting boot variables.
[********************] 100% -- SUCCESS
....
Module 2: Refreshing compact flash and upgrading bios/loader/bootrom.
Warning: please do not remove or power off the module at this time.
[********************] 100% -- SUCCESS
172  Implementing an IBM/Cisco SAN
Install has been successful.

<box 100% green | Delete the firmware files:></box>

mds9222i-1# delete bootflash:m9200-s2ek9-kickstart-mzg.4.1.0.182.bin
mds9222i-1# delete bootflash:m9200-s2ek9-mzg.4.1.0.182.bin
mds9222i-1# dir bootflash:
....
101905006 Sep 17 00:42:45 2008 m9200-s2ek9-mz.4.1.1.bin
...

The CLI can also be used to delete old SAN-OS or NX-OS files to free up bootflash space on the remote supervisor if needed:

# delete bootflash://sup-remote/m9200-s2ek9-mzg.4.1.0.182.bin

<box 100% green | Check again the firmware level:></box>

mds9222i-1# show version

<box 100% green | Check the firmware level on each component from switch:></box>

mds9222i-1# show module
storage/cisco_fw.txt · Last modified: 2021/01/01 21:25 (external edit)