设为首页 收藏本站
查看: 717|回复: 0

[经验分享] Cisco mds 9700 upgrade 升级

[复制链接]

尚未签到

发表于 2018-7-14 13:54:03 | 显示全部楼层 |阅读模式
  同理 见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 image 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 image 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>  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>  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 image verification and compatibility check, please wait....
  Note: system and kickstart bootvars are pointing to incompatible images
  switch(config)# boot system bootflash:m9700-sf3ek9-mz.6.2.17.bin sup-1 sup-2    ###设置system 启动文件
  Performing image 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 image bootflash:/m9700-sf3ek9-kickstart-mz.6.2.17.bin for boot variable "kickstart".
  [####################] 100% -- SUCCESS
  Verifying image bootflash:/m9700-sf3ek9-mz.6.2.9.bin for boot variable "system".
  [####################] 100% -- SUCCESS
  Performing module support checks.
  [####################] 100% -- SUCCESS
  Verifying image type.
  [####################] 100% -- SUCCESS
  Extracting "slc4xb" version from image bootflash:/m9700-sf3ek9-mz.6.2.9.bin.
  [####################] 100% -- SUCCESS
  Extracting "bios" version from image bootflash:/m9700-sf3ek9-mz.6.2.9.bin.
  [####################] 100% -- SUCCESS
  Extracting "system" version from image bootflash:/m9700-sf3ek9-mz.6.2.9.bin.
  [####################] 100% -- SUCCESS
  Extracting "kickstart" version from image 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 image
  4        no             n/a           n/a  Incompatible image
  5       yes  non-disruptive          none
  Not all components in the image 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 ***
  <CR>
  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 image bootflash:/m9700-sf3ek9-kickstart-mz.6.2.9.bin for boot variable "kickstart".
  [####################] 100% -- SUCCESS
  Verifying image bootflash:/m9700-sf3ek9-mz.6.2.17.bin for boot variable "system".
  [####################] 100% -- SUCCESS
  Performing module support checks.
  [####################] 100% -- SUCCESS
  Verifying image type.
  [####################] 100% -- SUCCESS
  Extracting "slc4xb" version from image bootflash:/m9700-sf3ek9-mz.6.2.17.bin.
  [####################] 100% -- SUCCESS
  Extracting "bios" version from image bootflash:/m9700-sf3ek9-mz.6.2.17.bin.
  [####################] 100% -- SUCCESS
  Extracting "system" version from image bootflash:/m9700-sf3ek9-mz.6.2.17.bin.
  [####################] 100% -- SUCCESS
  Extracting "kickstart" version from image 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 image
  4        no             n/a           n/a  Incompatible image
  5       yes  non-disruptive       rolling
  Not all components in the image 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 image 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 image 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>  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>  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>  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>  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#>  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>  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 image 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 image 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>  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>  System version: 6.2(9)
  Service:
  plugin
  Core Plugin, Ethernet Plugin

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-537128-1-1.html 上篇帖子: Cisco IOS 中的快捷键 下篇帖子: 恢复Cisco3640的IOS
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表