Cisco Nexus 7000 upgrade 简易升级

运行前,得把cisco nexus 7010 升级到cisco推荐的稳定版本,以后打算一直用,没事尽量不升版本,cisco搜索nexus 7000 upgrade 有各种文档,很长的,介绍各种方法,原理,其中有如何升完一个引擎,再升另一个,这样不中断生产,但手上这个还没跑数据,简单粗暴,install all 一把升完。。。

以下是secureCRT抓取,不用担心很长,多是过程(理解过程,有助于以后生产环境中实现不间断升版本),简单粗暴的来总共就下面红字标出的三个命令(当然命令可拆解,kickstsrt一下,system一下)

之前记得把固件传到sup1 和 sup2的flash中,两个引擎都要传啊,文件大用tftp太累,建议开启feature ssh ,feature sft,用sftp传,记得sh ver,sh module ,sh boot确认之前状态

boot kickstart bootflash:n7000-s2-kickstart.6.2.16.bin sup-1 sup-2 

boot system bootflash:n7000-s2-dk9.6.2.16.bin sup-1 sup-2 install all kickstart bootflash:n7000-s2-kickstart.6.2.16.bin system bootflash:n7000-s2-dk9.6.2.16.bin

install all kickstart bootflash:n7000-s2-kickstart.6.2.16.bin system bootflash:n7000-s2-dk9.6.2.16.bin

之后记得copy running start,保存,然后sh ver,sh module ,sh boot看下有何不同(其实就是sh boot的next boot变了),最后reload 起来后sh ver,sh module ,sh boot(全变了),确认版本正确就行了。

cisco nexus交换机和cisco mds交换机分别用于两个不同的大方向,但架构貌似一样,升级过程几乎一样

全部过程如下:

switch(config)# sh version     ###显示现在运行的版本为6.2.2a

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_series_home.html

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

kickstart: version 6.2(2a)

system:    version 6.2(2a)

BIOS compile time:       05/29/2013

kickstart image file is: bootflash:///n7000-s2-kickstart.6.2.2a.bin

kickstart compile time:  8/23/2013 15:00:00 [10/14/2013 23:54:28]

system image file is:    bootflash:///n7000-s2-dk9.6.2.2a.bin

system compile time:     8/23/2013 15:00:00 [10/15/2013 03:58:57]

Hardware

cisco Nexus7000 C7010 (10 Slot) Chassis ("Supervisor Module-2")

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

Processor Board ID JAF1833APBH

Device name: switch

bootflash:    1966080 kB

slot0:              0 kB (expansion flash)

Kernel uptime is 0 day(s), 0 hour(s), 5 minute(s), 39 second(s)

Last reset at 634999 usecs after  Tue Jan 24 02:04:20 2017

Reason: Reset triggered due to Switchover Request by User

System version: 6.2(2a)

Service:

plugin

Core Plugin, Ethernet Plugin

switch(config)# show boot      ###显示启动文件

Current Boot Variables:

sup-1

kickstart variable = bootflash:/n7000-s2-kickstart.6.2.2a.bin

system variable = bootflash:/n7000-s2-dk9.6.2.2a.bin

sup-2

kickstart variable = bootflash:/n7000-s2-kickstart.6.2.2a.bin

system variable = bootflash:/n7000-s2-dk9.6.2.2a.bin

No module boot variable set

Boot Variables on next reload:

sup-1

kickstart variable = bootflash:/n7000-s2-kickstart.6.2.2a.bin

system variable = bootflash:/n7000-s2-dk9.6.2.2a.bin

sup-2

kickstart variable = bootflash:/n7000-s2-kickstart.6.2.2a.bin

system variable = bootflash:/n7000-s2-dk9.6.2.2a.bin

No module boot variable set

switch(config)# dir

0    Sep 30 02:10:43 2014  20140930_021043_poap_7271_init.log

0    Jan 07 00:43:10 2017  20170107_004310_poap_7641_init.log

0    Jan 07 01:49:53 2017  20170107_014953_poap_7649_init.log

96392    Jan 20 20:53:47 2017  20170117_024219_poap_7636_init.log

510    Sep 30 01:25:05 2014  FXS1834Q4EA_910985804.lic

16384    Sep 30 01:22:45 2014  lost+found/

425889673    Jan 09 00:37:35 2017  n7000-s2-dk9.6.2.16.bin

378617383    Sep 30 01:24:48 2014  n7000-s2-dk9.6.2.2a.bin

36697088    Jan 09 00:21:09 2017  n7000-s2-kickstart.6.2.16.bin

37094912    Sep 30 01:24:02 2014  n7000-s2-kickstart.6.2.2a.bin

4096    Sep 30 02:08:25 2014  scripts/

4096    Sep 30 02:07:24 2014  vdc_2/

4096    Sep 30 02:07:24 2014  vdc_3/

4096    Sep 30 02:07:24 2014  vdc_4/

4096    Sep 30 02:07:24 2014  vdc_5/

4096    Sep 30 02:07:24 2014  vdc_6/

4096    Sep 30 02:07:24 2014  vdc_7/

4096    Sep 30 02:07:24 2014  vdc_8/

4096    Sep 30 02:07:24 2014  vdc_9/

Usage for bootflash://

1003073536 bytes used

771182592 bytes free

1774256128 bytes total

switch(config)# sh version module 1   ###查看某一模块版本

ModNo   Image Type   SW Version   SW Interim Version  BIOS Version

1       SLC          6.2(2a)      6.2(2a)             2.0.15

switch(config)# boot kickstart bootflash:n7000-s2-kickstart.6.2.16.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:n7000-s2-dk9.6.2.16.bin sup-1 sup-2      ###设置system 启动文件

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

switch(config)# copy running-config startup-config    ###  保存一下 其实应该install all执行完保存一下即可

switch(config)# install all kickstart bootflash:n7000-s2-kickstart.6.2.16.bin system bootflash:n7000-s2-dk9.6.2.16.bin  ###安装kickstsrt启动文件 这里同时安装 system启动文件  一把来。。。

Installer will perform compatibility check first. Please wait.

Verifying image bootflash:/n7000-s2-kickstart.6.2.16.bin for boot variable "kickstart".

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

Verifying image bootflash:/n7000-s2-dk9.6.2.16.bin for boot variable "system".

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

Verifying image type.

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

Extracting "lc1n7k" version from image bootflash:/n7000-s2-dk9.6.2.16.bin.

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

Extracting "bios" version from image bootflash:/n7000-s2-dk9.6.2.16.bin.

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

Extracting "system" version from image bootflash:/n7000-s2-dk9.6.2.16.bin.

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

Extracting "kickstart" version from image bootflash:/n7000-s2-kickstart.6.2.16.bin.

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

2       yes  non-disruptive       rolling

3       yes  non-disruptive       rolling

5       yes  non-disruptive         reset

6       yes  non-disruptive         reset

Images will be upgraded according to following table:

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

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

1      lc1n7k                                   6.2(2a)               6.2(16)           yes

1        bios       v2.0.15(07/25/11):v2.0.15(07/25/11)     v2.0.32(12/16/13)           yes

2      lc1n7k                                   6.2(2a)               6.2(16)           yes

2        bios     v1.10.14(04/02/10):v1.10.14(04/02/10)    v1.10.21(11/26/12)           yes

3      lc1n7k                                   6.2(2a)               6.2(16)           yes

3        bios     v1.10.14(04/02/10):v1.10.14(04/02/10)    v1.10.21(11/26/12)           yes

5      system                                   6.2(2a)               6.2(16)           yes

5   kickstart                                   6.2(2a)               6.2(16)           yes

5        bios   v2.12.0(05/29/2013):v2.12.0(05/29/2013)   v2.12.0(05/29/2013)            no

6      system                                   6.2(2a)               6.2(16)           yes

6   kickstart                                   6.2(2a)               6.2(16)           yes

6        bios   v2.12.0(05/29/2013):v2.12.0(05/29/2013)   v2.12.0(05/29/2013)            no

Do you want to continue with the installation (y/n)?  [n] y   ###确认

Install is in progress, please wait.

Performing runtime checks.

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

Syncing image bootflash:/n7000-s2-kickstart.6.2.16.bin to standby.

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

Syncing image bootflash:/n7000-s2-dk9.6.2.16.bin to standby.

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

Setting boot variables.

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

Performing configuration copy.

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

Module 1:  Upgrading bios/loader/bootrom.

Warning: please do not remove or power off the module at this time.

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

Module 2:  Upgrading bios/loader/bootrom.

Warning: please do not remove or power off the module at this time.

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

Module 3:  Upgrading bios/loader/bootrom.

Warning: please do not remove or power off the module at this time.

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

Module 5:  Upgrading bios/loader/bootrom.

Warning: please do not remove or power off the module at this time.

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

Module 6:  Upgrading bios/loader/bootrom.

Warning: please do not remove or power off the module at this time.

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

Module 6: Waiting for module online.

-- SUCCESS

Notifying services about the switchover.

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

"Switching over onto standby".

switch# 2017 Jan 24 02:32:59 switch %MODULE-5-STANDBY_SUP_OK: Supervisor 5 is standby

2017 Jan 24 02:32:59 switch %MODULE-5-LCM_MODULE_UPGRADE_START: Upgrade of module 1 started

2017 Jan 24 02:32:58 switch %SYSMGR-SLOT1-5-LC_UPGRADE_START: Starting linecard upgrade

2017 Jan 24 02:33:17 switch %SYSMGR-SLOT1-5-LC_UPGRADE_REBOOT: Non-disruptively rebooting linecard as a part of upgrade

2017 Jan 24 02:33:58 switch %SYSMGR-SLOT1-4-READCONF_STARTED: Configuration update started (PID 2294).

2017 Jan 24 02:33:59 switch %SYSMGR-SLOT1-5-RUNTIME_DB_RESTORE_STARTED: Runtime database controller started (PID 2295).

2017 Jan 24 02:34:06 switch %SYSMGR-SLOT1-5-RUNTIME_DB_RESTORE_SUCCESS: Runtime database successfully restored.

2017 Jan 24 02:34:18 switch %BIOS_DAEMON-SLOT1-5-BIOS_DAEMON_LC_PRI_BOOT:  System booted from Primary BIOS Flash

2017 Jan 24 02:34:31 switch %MODULE-5-LCM_MODULE_UPGRADE_END: Upgrade of module 1 ended

2017 Jan 24 02:34:31 switch %MODULE-5-MOD_OK: Module 1 is online (Serial number: JAF1832AKCS)

2017 Jan 24 02:34:31 switch %PLATFORM-5-MOD_STATUS: Module 1 current-status is MOD_STATUS_ONLINE/OK

2017 Jan 24 02:34:31 switch %SYSMGR-SLOT1-5-MODULE_ONLINE: System Manager has received notification of local module becoming online.

2017 Jan 24 02:34:57 switch %MODULE-5-LCM_MODULE_UPGRADE_START: Upgrade of module 2 started

2017 Jan 24 02:34:57 switch %SYSMGR-SLOT2-5-LC_UPGRADE_START: Starting linecard upgrade

switch#

switch# copy running  start

switch# reload

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

switch# sh module     ###重启后确认模块版本

Mod  Ports  Module-Type                         Model              Status

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

1    48     1/10 Gbps Ethernet Module           N7K-F248XP-25E     testing

2    48     1000 Mbps Optical Ethernet XL Modul N7K-M148GS-11L     testing

3    48     10/100/1000 Mbps Ethernet XL Module N7K-M148GT-11L     testing

5    0      Supervisor Module-2                 N7K-SUP2E          active *

6    0      Supervisor Module-2                                    powered-up

Mod  Sw              Hw

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

1    6.2(16)         1.1

2    6.2(16)         1.0

3    6.2(16)         1.1

5    6.2(16)         6.1

Mod  MAC-Address(es)                         Serial-Num

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

1    50-87-89-45-66-34 to 50-87-89-45-66-67  JAF1832AKCS

2    1c-6a-7a-ff-6c-a4 to 1c-6a-7a-ff-6c-d7  JAF1746ABSG

3    7c-0e-ce-8f-d2-88 to 7c-0e-ce-8f-d2-bb  JAF1832AFEQ

5    50-87-89-46-01-1f to 50-87-89-46-01-31  JAF1833APBH

Mod  Online Diag Status

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

1    Untested

2    Untested

3    Untested

5    Pass

Xbar Ports  Module-Type                         Model              Status

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

1    0      Fabric Module 2                     N7K-C7010-FAB-2    ok

2    0      Fabric Module 2                     N7K-C7010-FAB-2    ok

3    0      Fabric Module 2                     N7K-C7010-FAB-2    ok

Xbar Sw              Hw

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

1    NA              1.6

2    NA              1.6

3    NA              1.6

Xbar MAC-Address(es)                         Serial-Num

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

1    NA                                      JAF1833AMAK

2    NA                                      JAF1833AMBQ

3    NA                                      JAF1833AMDM

* this terminal session

switch# sh 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 2.12.0

kickstart: version 6.2(16)

system:    version 6.2(16)

BIOS compile time:       05/29/2013

kickstart image file is: bootflash:///n7000-s2-kickstart.6.2.16.bin

kickstart compile time:  1/27/2016 9:00:00 [04/05/2016 21:13:37]

system image file is:    bootflash:///n7000-s2-dk9.6.2.16.bin

system compile time:     1/27/2016 9:00:00 [04/05/2016 22:16:06]

Hardware

cisco Nexus7000 C7010 (10 Slot) Chassis ("Supervisor Module-2")

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

Processor Board ID JAF1833APBH

Device name: switch

bootflash:    1966080 kB

slot0:              0 kB (expansion flash)

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

Last reset

Reason: Unknown

System version: 6.2(16)

Service:

plugin

Core Plugin, Ethernet Plugin

switch# sh boot      ###确认启动项

Current Boot Variables:

sup-1

kickstart variable = bootflash:/n7000-s2-kickstart.6.2.16.bin

system variable = bootflash:/n7000-s2-dk9.6.2.16.bin

sup-2

kickstart variable = bootflash:/n7000-s2-kickstart.6.2.16.bin

system variable = bootflash:/n7000-s2-dk9.6.2.16.bin

No module boot variable set

Boot Variables on next reload:

sup-1

kickstart variable = bootflash:/n7000-s2-kickstart.6.2.16.bin

system variable = bootflash:/n7000-s2-dk9.6.2.16.bin

sup-2

kickstart variable = bootflash:/n7000-s2-kickstart.6.2.16.bin

system variable = bootflash:/n7000-s2-dk9.6.2.16.bin

No module boot variable set

时间: 2024-10-17 05:09:12

Cisco Nexus 7000 upgrade 简易升级的相关文章

Cisco Nexus 系列交换机NX-OS升级

Cisco Nexus 系列交换机NX-OS升级 1. 概述 与普通IOS设备不同,NX OS升级时,共有2个文件需要升级.安装,如果只安装其中一个,可能会导致设备重启后无法进入系统.这2个文件包括:NX-OS System Software NX-OS Kick Start NX-OS System Software:用于功能实现.NX-OS Kick Start:用于系统的启动及运行,类似Linux系统安装的KickStart文件的作用. 注意:在进行升级时,必须保证同时升级这2个image

Cisco Nexus 9000 系列交换机

Cisco Nexus 9000 系列交换机 http://www.cisco.com/c/zh_cn/products/switches/nexus-9000-series-switches/index.html

python -m pip install --upgrade pip升级失败

python -m pip install --upgrade pip升级失败 解决: 采用国内源: python -m pip install --upgrade pip -i https://pypi.douban.com/simple python -m pip install --upgrade pip -i  http://mirrors.aliyun.com/pypi/simple/ 原文地址:https://www.cnblogs.com/NirobertEinteson/p/12

Maven-仓库管理器(Nexus)-下载安装运行升级

陈科肇 =============================== 1.简介 使用Nexus有两个目的: 一.是我们项目通过Nexus去访问远程的中央仓库里的构件,从而通过依赖下载至本地.开发人员下次再次访问已下载的构件时,就无须再次访问远程的中央仓库,直接访问本地的私服即可.这样的好处显而易见,在一个团队中,即帮我们节省了宽带又节省了时间. 二.方便于管理自己内部开发的组件,你可以把内部开发的组件上传去Nexus,其它开发人员即可通过依赖获取. 2.下载 官方下载网址:http://nex

Cisco Nexus vPC之Sticky Master

场景 生产环境里,我们经常把其中的一台Nexus交换机从vPC domain中独立出来,比如升级或灾备演练等情况.但是其中一个细节即Sticky Master的状态很少有人会注意到,因此这可能导致网络中断. 在vPC环境中,两台vPC会进行role选举,通过优先级配置,假设N7K-1为primary,N7K-2为secondary. 步骤一 当我们把N7K-2从vPC环境中独立出来,即断掉N7K-2的peer-link.keepalive以及所有上下行接口.这时候两台设备处于双活状态,N7K-1

Cisco 4507R交换机IOS软件升级方法

现有设备信息 XIASW#show version Cisco IOS Software, Catalyst 4000 L3 Switch Software (cat4000-I5S-M), Version 12.2(25)EWA7, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2006 by Cisco Systems, Inc. Compiled M

Nexus 3048的NX-OS升级方法

1.System Software和Kick Start 与普通IOS设备不同,NX OS升级时,共有2个文件需要升级.安装,如果只安装其中一个,可能会导致设备重启后无法进入系统.这2个文件包括: NX-OS System Software:用于功能实现. NX-OS Kick Start:用于系统的启动及运行. 在进行升级时,必须保证同时升级这2个,并且都升级到同一版本. 2.升级步骤 下载NX-OS System Software和Kick Start:在Cisco官网针对设备型号找到对应的

windows下python -m pip install --upgrade pip升级后报错的解决方法

前言: 笔者装某库的时候提示需要升级pip版本,就python -m pip install --upgrade pip默认升级了,结果升级之后只要输入pip就有报错(如下图),网上百度了很多解决方法,才找到一个正解,接下来分享出来. 解决方法: 1.使用python -m ensurepip这个命令可以自动完成pip的修正2.以后使用pip的时候需要在前面加上python -m 原文地址:https://www.cnblogs.com/lucio1128/p/12036879.html

pip3 install --upgrade pip升级安装后无法使用的解决步骤

本机环境: Ubunt16.04: python2.7 + python3.6 笔者在使用pip3更新模块的时候,提示pip3的版本比较旧8.0.1,可以更新到最新版19.1.1,随手更新了之后就不能使用了,报No module named 'pip._internal'的错误, 网上找了一些方法仍然不行,几乎想重装系统了 网友方法一: 重新安装pip curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py sudo python3.7 g