同理 见Cisco Nexus 7000 upgrade 简易升级


http://ksitigarbha.blog.51cto.com/1013724/1894157


最后,官方文档说的比较详细,如果您是跨大版本升级,注意兼容性列表,有的可能需要先升级某些

bios版本和其他各种版本逗得匹配吧


switch# sh ver   ###显示现在运行的版本为6.2.9

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_serie

s_home.html

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


Software

  BIOS:      version 3.1.0

  kickstart: version 6.2(9)

  system:    version 6.2(9)

  BIOS compile time:       02/27/2013

  kickstart p_w_picpath file is: bootflash:///m9700-sf3ek9-kickstart-mz.6.2.9.bin

  kickstart compile time:  6/3/2014 1:00:00 [07/11/2014 17:49:48]

  system p_w_picpath file is:    bootflash:///m9700-sf3ek9-mz.6.2.9.bin

  system compile time:     6/3/2014 1:00:00 [07/11/2014 19:44:38]



Hardware

  cisco MDS 9706 (6 Slot) Chassis ("Supervisor Module-3")

  Intel(R) Xeon(R) CPU         with 8120776 kB of memory.

  Processor Board ID JAE201001GT


  Device name: switch

  bootflash:    3915776 kB

  slot0:              0 kB (expansion flash)


Kernel uptime is 0 day(s), 4 hour(s), 20 minute(s), 55 second(s)


Last reset at 670619 usecs after  Wed Jan 18 15:18:26 2017


  Reason: Reset triggered due to Switchover Request by User

  System version: 6.2(9)

  Service: 


plugin

  Core Plugin, Ethernet Plugin

switch# show module 

Mod  Ports  Module-Type                         Model              Status

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

1    48     2/4/8/10/16 Gbps Advanced FC Module DS-X9448-768K9     ok

2    48     2/4/8/10/16 Gbps Advanced FC Module DS-X9448-768K9     ok

3    0      Supervisor Module-3                 DS-X97-SF1-K9      active *

4    0      Supervisor Module-3                                    powered-up

5    48     2/4/8/10/16 Gbps Advanced FC Module DS-X9448-768K9     ok


Mod  Sw              Hw

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

1    6.2(9)          1.5     

2    6.2(9)          1.5     

3    6.2(9)          1.4     

5    6.2(9)          1.5     



Mod  MAC-Address(es)                         Serial-Num

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

1    00-cc-fc-49-e2-00 to 00-cc-fc-49-e2-03  JAE2007022D

2    00-cc-fc-49-57-7c to 00-cc-fc-49-57-7f  JAE2006033W

3    00-cc-fc-eb-73-08 to 00-cc-fc-eb-73-1a  JAE201001GT

5    00-cc-fc-49-4b-98 to 00-cc-fc-49-4b-9b  JAE2006033H


Mod  Online Diag Status

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

1    Pass

2    Pass

3    Pass

5    Pass


Xbar Ports  Module-Type                         Model              Status

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

1    0      Fabric Module 1                     DS-X9706-FAB1      ok

3    0      Fabric Module 1                     DS-X9706-FAB1      ok

5    0      Fabric Module 1                     DS-X9706-FAB1      ok


Xbar Sw              Hw

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

1    NA              1.0     

3    NA              1.0     

5    NA              1.0     



Xbar MAC-Address(es)                         Serial-Num

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

1    NA                                      JAE200901LW

3    NA                                      JAE201101T3

5    NA                                      JAE201101QZ


* this terminal session 




switch# show boot    ###显示启动文件

Current Boot Variables:


sup-1

kickstart variable = bootflash:/m9700-sf3ek9-kickstart-mz.6.2.9.bin

system variable = bootflash:/m9700-sf3ek9-mz.6.2.9.bin

sup-2

kickstart variable = bootflash:/m9700-sf3ek9-kickstart-mz.6.2.9.bin

system variable = bootflash:/m9700-sf3ek9-mz.6.2.9.bin

No module boot variable set


Boot Variables on next reload:


sup-1

kickstart variable = bootflash:/m9700-sf3ek9-kickstart-mz.6.2.9.bin

system variable = bootflash:/m9700-sf3ek9-mz.6.2.9.bin

sup-2

kickstart variable = bootflash:/m9700-sf3ek9-kickstart-mz.6.2.9.bin

system variable = bootflash:/m9700-sf3ek9-mz.6.2.9.bin

No module boot variable set





switch# dir bootflash://sup-1/   ###显示当前引擎sup1下有哪些文件 ,以后得将文件上传至sup1和sup2上不能只上传到一个

bootflash://sup-1/lost+found

bootflash://sup-1/m9700-sf3ek9-kickstart-mz.6.2.17.bin

bootflash://sup-1/m9700-sf3ek9-kickstart-mz.6.2.9.bin

bootflash://sup-1/m9700-sf3ek9-mz.6.2.17.bin

bootflash://sup-1/m9700-sf3ek9-mz.6.2.9.bin

switch# dir bootflash://sup-1/

      16384    Mar 23 18:48:20 2016  lost+found/

   37105664    Jan 18 08:58:03 2017  m9700-sf3ek9-kickstart-mz.6.2.17.bin

   36039168    Mar 23 18:48:58 2016  m9700-sf3ek9-kickstart-mz.6.2.9.bin

  196410336    Jan 18 08:58:33 2017  m9700-sf3ek9-mz.6.2.17.bin

  193505718    Mar 23 18:49:26 2016  m9700-sf3ek9-mz.6.2.9.bin


Usage for bootflash://sup-1

  687181824 bytes used

 3053662208 bytes free

 3740844032 bytes total



switch# dir bootflash://sup-2   ###显示standby引擎sup2下有哪些文件

      16384    Mar 23 18:49:48 2016  lost+found/

   37105664    Jan 18 08:58:03 2017  m9700-sf3ek9-kickstart-mz.6.2.17.bin

   36039168    Mar 23 18:50:23 2016  m9700-sf3ek9-kickstart-mz.6.2.9.bin

  196410336    Jan 18 08:58:33 2017  m9700-sf3ek9-mz.6.2.17.bin

  193505718    Mar 23 18:50:50 2016  m9700-sf3ek9-mz.6.2.9.bin


Usage for bootflash://sup-2

  687177728 bytes used

 3053666304 bytes free

 3740844032 bytes total

switch# dir bootflash://sup-2/

      16384    Mar 23 18:49:48 2016  lost+found/

   37105664    Jan 18 08:58:03 2017  m9700-sf3ek9-kickstart-mz.6.2.17.bin

   36039168    Mar 23 18:50:23 2016  m9700-sf3ek9-kickstart-mz.6.2.9.bin

  196410336    Jan 18 08:58:33 2017  m9700-sf3ek9-mz.6.2.17.bin

  193505718    Mar 23 18:50:50 2016  m9700-sf3ek9-mz.6.2.9.bin


Usage for bootflash://sup-2

  687177728 bytes used

 3053666304 bytes free

 3740844032 bytes total





 

switch# conf t

Enter configuration commands, one per line.  End with CNTL/Z.



switch(config)# boot kickstart bootflash:m9700-sf3ek9-kickstart-mz.6.2.17.bin sup-1 sup-2   ###设置kickstart 启动文件

Performing p_w_picpath verification and compatibility check, please wait....

Note: system and kickstart bootvars are pointing to incompatible p_w_picpaths



switch(config)# boot system bootflash:m9700-sf3ek9-mz.6.2.17.bin sup-1 sup-2    ###设置system 启动文件

Performing p_w_picpath verification and compatibility check, please wait....




switch(config)# install all kickstart bootflash:m9700-sf3ek9-kickstart-mz.6.2.17.bin    ###安装kickstsrt启动文件 这里可以同时安装 system启动文件 但我分步来。

Installer will perform compatibility check first. Please wait. 


Verifying p_w_picpath bootflash:/m9700-sf3ek9-kickstart-mz.6.2.17.bin for boot variable "kickstart".

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


Verifying p_w_picpath bootflash:/m9700-sf3ek9-mz.6.2.9.bin for boot variable "system".

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


Performing module support checks.

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


Verifying p_w_picpath type.

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


Extracting "slc4xb" version from p_w_picpath bootflash:/m9700-sf3ek9-mz.6.2.9.bin.

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


Extracting "bios" version from p_w_picpath bootflash:/m9700-sf3ek9-mz.6.2.9.bin.

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


Extracting "system" version from p_w_picpath bootflash:/m9700-sf3ek9-mz.6.2.9.bin.

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


Extracting "kickstart" version from p_w_picpath bootflash:/m9700-sf3ek9-kickstart-mz.6.2.17.bin.

[####################] 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  

     3        no             n/a           n/a  Incompatible p_w_picpath

     4        no             n/a           n/a  Incompatible p_w_picpath

     5       yes  non-disruptive          none  


Not all components in the p_w_picpath are compatible.

ISSU can't continue

switch(config)# install all system bootflash:m9700-sf3ek9-mz.6.2.17.bin ?

*** No matching command found in current mode, matching in (exec) mode ***

        

  kickstart  Boot-variable name






switch(config)# install all system bootflash:m9700-sf3ek9-mz.6.2.17.bin    ###安装system启动文件 

Installer will perform compatibility check first. Please wait. 


Verifying p_w_picpath bootflash:/m9700-sf3ek9-kickstart-mz.6.2.9.bin for boot variable "kickstart".

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


Verifying p_w_picpath bootflash:/m9700-sf3ek9-mz.6.2.17.bin for boot variable "system".

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


Performing module support checks.

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


Verifying p_w_picpath type.

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


Extracting "slc4xb" version from p_w_picpath bootflash:/m9700-sf3ek9-mz.6.2.17.bin.

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


Extracting "bios" version from p_w_picpath bootflash:/m9700-sf3ek9-mz.6.2.17.bin.

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


Extracting "system" version from p_w_picpath bootflash:/m9700-sf3ek9-mz.6.2.17.bin.

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


Extracting "kickstart" version from p_w_picpath bootflash:/m9700-sf3ek9-kickstart-mz.6.2.9.bin.

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


Notifying services about system upgrade.

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




Compatibility check is done:

Module  bootable          Impact  Install-type  Reason

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

     1       yes  non-disruptive       rolling  

     2       yes  non-disruptive       rolling  

     3        no             n/a           n/a  Incompatible p_w_picpath

     4        no             n/a           n/a  Incompatible p_w_picpath

     5       yes  non-disruptive       rolling  


Not all components in the p_w_picpath are compatible.

ISSU can't continue







switch(config)# sh ver      ###这是show ver 无改动

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_serie

s_home.html

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


Software

  BIOS:      version 3.1.0

  kickstart: version 6.2(9)

  system:    version 6.2(9)

  BIOS compile time:       02/27/2013

  kickstart p_w_picpath file is: bootflash:///m9700-sf3ek9-kickstart-mz.6.2.9.bin

  kickstart compile time:  6/3/2014 1:00:00 [07/11/2014 17:49:48]

  system p_w_picpath file is:    bootflash:///m9700-sf3ek9-mz.6.2.9.bin

  system compile time:     6/3/2014 1:00:00 [07/11/2014 19:44:38]



Hardware

  cisco MDS 9706 (6 Slot) Chassis ("Supervisor Module-3")

  Intel(R) Xeon(R) CPU         with 8120776 kB of memory.

  Processor Board ID JAE201001GT


  Device name: switch

  bootflash:    3915776 kB

  slot0:              0 kB (expansion flash)


Kernel uptime is 0 day(s), 4 hour(s), 32 minute(s), 51 second(s)


Last reset at 670619 usecs after  Wed Jan 18 15:18:26 2017


  Reason: Reset triggered due to Switchover Request by User

  System version: 6.2(9)

  Service: 


plugin

  Core Plugin, Ethernet Plugin




 

switch(config)# sh boot    ###show boot 发现net reload 变为6.2.9了  保存然后重启

Current Boot Variables:


sup-1

kickstart variable = bootflash:/m9700-sf3ek9-kickstart-mz.6.2.17.bin

system variable = bootflash:/m9700-sf3ek9-mz.6.2.17.bin

sup-2

kickstart variable = bootflash:/m9700-sf3ek9-kickstart-mz.6.2.17.bin

system variable = bootflash:/m9700-sf3ek9-mz.6.2.17.bin

No module boot variable set


Boot Variables on next reload:


sup-1

kickstart variable = bootflash:/m9700-sf3ek9-kickstart-mz.6.2.9.bin

system variable = bootflash:/m9700-sf3ek9-mz.6.2.9.bin

sup-2

kickstart variable = bootflash:/m9700-sf3ek9-kickstart-mz.6.2.9.bin

system variable = bootflash:/m9700-sf3ek9-mz.6.2.9.bin

No module boot variable set




switch(config)# copy running-config startup-config      ###保存一下

[########################################] 100%

Copy complete.







switch(config)# sh boot      ###

Current Boot Variables:


sup-1

kickstart variable = bootflash:/m9700-sf3ek9-kickstart-mz.6.2.17.bin

system variable = bootflash:/m9700-sf3ek9-mz.6.2.17.bin

sup-2

kickstart variable = bootflash:/m9700-sf3ek9-kickstart-mz.6.2.17.bin

system variable = bootflash:/m9700-sf3ek9-mz.6.2.17.bin

No module boot variable set


Boot Variables on next reload:


sup-1

kickstart variable = bootflash:/m9700-sf3ek9-kickstart-mz.6.2.17.bin

system variable = bootflash:/m9700-sf3ek9-mz.6.2.17.bin

sup-2

kickstart variable = bootflash:/m9700-sf3ek9-kickstart-mz.6.2.17.bin

system variable = bootflash:/m9700-sf3ek9-mz.6.2.17.bin

No module boot variable set



switch# reload 

This command will reboot the system. (y/n)?  [n] y








switch# show boot             ###重启后show boot

Current Boot Variables:


sup-1

kickstart variable = bootflash:/m9700-sf3ek9-kickstart-mz.6.2.17.bin

system variable = bootflash:/m9700-sf3ek9-mz.6.2.17.bin

sup-2

kickstart variable = bootflash:/m9700-sf3ek9-kickstart-mz.6.2.17.bin

system variable = bootflash:/m9700-sf3ek9-mz.6.2.17.bin

No module boot variable set


Boot Variables on next reload:


sup-1

kickstart variable = bootflash:/m9700-sf3ek9-kickstart-mz.6.2.17.bin

system variable = bootflash:/m9700-sf3ek9-mz.6.2.17.bin

sup-2

kickstart variable = bootflash:/m9700-sf3ek9-kickstart-mz.6.2.17.bin

system variable = bootflash:/m9700-sf3ek9-mz.6.2.17.bin

No module boot variable set



switch# sh version     ###重启后确认ver

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_serie

s_home.html

Copyright (c) 2002-2016, 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


Software

  BIOS:      version 3.1.0

  kickstart: version 6.2(17)

  system:    version 6.2(17)

  BIOS compile time:       02/27/2013

  kickstart p_w_picpath file is: bootflash:///m9700-sf3ek9-kickstart-mz.6.2.17.bin

  kickstart compile time:  6/17/2016 23:00:00 [07/09/2016 17:24:11]

  system p_w_picpath file is:    bootflash:///m9700-sf3ek9-mz.6.2.17.bin

  system compile time:     6/17/2016 23:00:00 [07/09/2016 18:30:58]



Hardware

  cisco MDS 9706 (6 Slot) Chassis ("Supervisor Module-3")

  Intel(R) Xeon(R) CPU         with 8120776 kB of memory.

  Processor Board ID JAE201001GT


  Device name: switch

  bootflash:    3915776 kB

  slot0:              0 kB (expansion flash)


Kernel uptime is 0 day(s), 0 hour(s), 6 minute(s), 46 second(s)


Last reset at 478930 usecs after  Wed Jan 18 19:53:00 2017


  Reason: Reset Requested by CLI command reload

  System version: 6.2(9)

  Service: 


plugin

  Core Plugin, Ethernet Plugin