思科SAN交换机升级

  • 保存当前交换机配置、日志文件和所有接口的状态
term redirect zip
show tech-support details > SAN1-20250411-sh_ts_det-log.gz
  • 在CLI中输入此命令以查看此新代码安装的影响,检查映像,并确保它们与交换机兼容:
MDS-402-C24-MDS9396S-SAN1# show install all impact kickstart bootflash:m9300-s1ek9-kickstart-mz-npe.8.4.2f.bin system bootflash:m9300-s1ek9-mz-npe.8.4.2f.bin
Installer will perform impact only check. Please wait. 

Verifying image bootflash:/m9300-s1ek9-kickstart-mz-npe.8.4.2f.bin for boot variable "kickstart".
[####################] 100% -- SUCCESS

Verifying image bootflash:/m9300-s1ek9-mz-npe.8.4.2f.bin for boot variable "system".
[####################] 100% -- SUCCESS

Performing module support checks.
[####################] 100% -- SUCCESS

Verifying image type.
[####################] 100% -- SUCCESS

Extracting "system" version from image bootflash:/m9300-s1ek9-mz-npe.8.4.2f.bin.
[####################] 100% -- SUCCESS

Extracting "kickstart" version from image bootflash:/m9300-s1ek9-kickstart-mz-npe.8.4.2f.bin.
[####################] 100% -- SUCCESS

Extracting "bios" version from image bootflash:/m9300-s1ek9-mz-npe.8.4.2f.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-96 are hitless


Images will be upgraded according to following table:
Module       Image                  Running-Version(pri:alt)           New-Version  Upg-Required
------  ----------  ----------------------------------------  --------------------  ------------
     1      system                                    8.2(1)               8.4(2f)           yes
     1   kickstart                                    8.2(1)               8.4(2f)           yes
     1        bios   v5.2.19(05/15/2015):v5.2.19(05/15/2015)   v5.2.24(04/04/2020)           yes


MDS-402-C24-MDS9396S-SAN1#
  • 检查NX-OS版本之间是否存在不兼容问题,以及是否存在任何会阻止升级的交换机事件
MDS-402-C24-MDS9396S-SAN1# show incompatibility system bootflash://module-1/m9300-s1ek9-mz-npe.8.4.2f.bin
Checking incompatible configuration(s) 
No incompatible configurations 

Checking dynamic incompatibilities:
-----------------------------------
No incompatible configurations
  • 安装固件
MDS-402-C24-MDS9396S-SAN1# install all kickstart bootflash:m9300-s1ek9-kickstart-mz-npe.8.4.2f.bin system bootflash:m9300-s1ek9-mz-npe.8.4.2f.bin
Installer will perform compatibility check first. Please wait. 

Verifying image bootflash:/m9300-s1ek9-kickstart-mz-npe.8.4.2f.bin for boot variable "kickstart".
[####################] 100% -- SUCCESS

Verifying image bootflash:/m9300-s1ek9-mz-npe.8.4.2f.bin for boot variable "system".
[####################] 100% -- SUCCESS

Performing module support checks.
[####################] 100% -- SUCCESS

Verifying image type.
[####################] 100% -- SUCCESS

Extracting "system" version from image bootflash:/m9300-s1ek9-mz-npe.8.4.2f.bin.
[####################] 100% -- SUCCESS

Extracting "kickstart" version from image bootflash:/m9300-s1ek9-kickstart-mz-npe.8.4.2f.bin.
[####################] 100% -- SUCCESS

Extracting "bios" version from image bootflash:/m9300-s1ek9-mz-npe.8.4.2f.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-96 are hitless


Images will be upgraded according to following table:
Module       Image                  Running-Version(pri:alt)           New-Version  Upg-Required
------  ----------  ----------------------------------------  --------------------  ------------
     1      system                                    8.2(1)               8.4(2f)           yes
     1   kickstart                                    8.2(1)               8.4(2f)           yes
     1        bios   v5.2.19(05/15/2015):v5.2.19(05/15/2015)   v5.2.24(04/04/2020)           yes


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.
All telnet and ssh connections will now be temporarily terminated.