溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

Cisco Nexus 7000 upgrade 升級

發布時間:2020-08-05 18:41:56 來源:網絡 閱讀:8774 作者:297398172 欄目:移動開發

    運行前,得把cisco nexus 7010 升級到cisco推薦的穩定版本,以后打算一直用,沒事盡量不升版本,cisco搜索nexus 7000 upgrade 有各種文檔,很長的,介紹各種方法,原理,其中有如何升完一個引擎,再升另一個,這樣不中斷生產,但手上這個還沒跑數據,簡單粗暴,install all 一把升完。。。


   其實簡單粗暴或者以后生產過程中升級貌似也沒事,因為有雙引擎,只要操作得當,總會適時一個備引擎升完,切到備上,才升級主,這個過程可以自動完成,也可以你手動,我喜歡一把來,自動搞定


以下是secureCRT抓取,不用擔心很長,多是過程(理解過程,有助于以后生產環境中實現不間斷升版本),簡單粗暴的來總共就下面紅字標出的三個命令(當然命令可拆解,kickstsrt一下,system一下,一把來吧,喜歡自動識別,當然如果我步驟錯誤,或者硬件不支持,或者ios鏡像版本錯了,會有報錯的,比較不錯。)


之前記得把固件傳到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 p_w_picpath 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 p_w_picpath 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 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:n7000-s2-dk9.6.2.16.bin sup-1 sup-2      ###設置system 啟動文件

Performing p_w_picpath 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 p_w_picpath bootflash:/n7000-s2-kickstart.6.2.16.bin for boot variable "kickstart".

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


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

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


Verifying p_w_picpath type.

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


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

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


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

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


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

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


Extracting "kickstart" version from p_w_picpath 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 p_w_picpath bootflash:/n7000-s2-kickstart.6.2.16.bin to standby.

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


Syncing p_w_picpath 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".     ###切換到備引擎了,現在ssh是到備的mgt了,丟包極少。





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 p_w_picpath 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 p_w_picpath 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




向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

亚洲午夜精品一区二区_中文无码日韩欧免_久久香蕉精品视频_欧美主播一区二区三区美女