在 Cisco Nexus 9364D-GX2A 交換器上安裝 NX-OS
在 Cisco Nexus 9364D-GX2A 交換器上安裝 NX-OS,用於新的 AFX 1K 或 AFX 2K 系統安裝、交換器更換或將交換器重設為原廠預設值。
-
交換器必須通電,且您必須已完成 "完成初始交換器設置" 程序。
-
如果您在新 AFX 系統安裝或交換器更換過程中,在交換器上安裝 NX-OS,請確認交換器上的 NX-OS 版本是目前 NetApp 支援的版本。
-
如果您的交換器已安裝目前 NetApp 支援的版本,則無需安裝 NX-OS。您需要安裝 RCF。首先執行"安裝或升級 RCF 概述"。
-
如果您的交換器沒有目前 NetApp 支援的版本,請繼續執行此步驟來安裝 NX-OS。
-
-
如果您在交換器上安裝 NX-OS,作為交換器更換或交換器重設為原廠預設值的一部分,請驗證您的叢集是否完全正常運作,即日誌中沒有錯誤或類似問題。
|
|
如果您正在安裝 NX-OS 作為新 AFX 系統安裝的一部分,則可以跳過此要求,因為在 AFX 系統安裝和設定的這一階段,AFX 系統中的控制器尚未通電。 |
-
AFX 系統上執行的 ONTAP 版本決定了交換器支援的 NX-OS 版本。
-
對於 AFX 1K 系統中的交換器,執行任何受支援的 ONTAP 版本,均支援 NX-OS 10.4.2 及更新版本。
-
對於執行 ONTAP 9.19.1GA 或更新版本的 AFX 2K 系統中的交換器,支援 NX-OS 10.6 及更新版本。
有關目前支援的 NX-OS 版本列表,請參閱"NetApp Cisco 乙太網路交換器"頁面。
-
-
此程序僅需使用 Cisco Nexus 9000 系列交換器指令。
-
本程序中的範例將第一個交換器稱為 cs1,第二個交換器稱為 cs2。
-
如果您已將交換器作為新的 AFX 1K 或 AFX 2K 系統安裝的一部分進行安裝,則此程序將要求您在第一個交換器 (cs1) 上安裝 NX-OS,然後對第二個交換器 (cs2) 重複這些步驟。
-
本流程中的範例適用於執行 RCF 10.0 的交換器的 AFX 1K 系統。如果您使用的是 AFX 2K 系統,則輸入和輸出可能會有所不同。
步驟 1:準備安裝 NX-OS
要準備在交換器上安裝 NX-OS,請確保您能夠存取具有支援的 NX-OS 版本的伺服器,下載 NX-OS,連接到管理網路進行檔案傳輸,然後驗證與伺服器的連線。
-
您必須擁有對 HTTP、FTP 或 TFTP 伺服器的存取權限。透過存取這些伺服器之一,您可以下載支援的 NX-OS 版本。
-
從 "Cisco軟體下載"頁面下載正確版本的 NX-OS 到交換器。
-
將交換器連接到管理網路(用於檔案傳輸)。
-
使用 ping 指令驗證與託管 NX-OS 之伺服器的連線能力。
ping <IP address>顯示範例
此範例驗證交換器可以存取 IP 位址為 172.19.2.1 的伺服器:
cs1# ping 172.19.2.1 Pinging 172.19.2.1 with 0 bytes of data: Reply From 172.19.2.1: icmp_seq = 0. time= 5910 usec.
步驟 2:安裝 NX-OS 和 EPLD 映像
如果您要將 NX-OS 作為新的 AFX 系統安裝的一部分進行安裝,則需要在第一個交換器(cs1)上安裝並驗證 NX-OS 和 EPLD 映像,然後在第二個交換器(cs2)上重複這些步驟。
-
安裝 NX-OS 和 EPLD 映像。
請選擇符合您情況的索引標籤:
-
安裝 10.4(2)F
-
安裝 10.6(3)F 或更高版本
-
您可以使用交換器 CLI 輸入以下步驟的命令。
-
您需要使用此指令兩次:第一次是複製 NX-OS 版本,第二次是複製 EPLD 版本。
copy <protocol>: bootflash: vrf management顯示範例
此範例使用 sftp。
cs1# copy sftp: bootflash: vrf management Enter source filename: /code/nxos.10.4.2.bin Enter hostname for the sftp server: 172.19.2.1 Enter username: root Outbound-ReKey for 172.19.2.1:22 Inbound-ReKey for 172.19.2.1:22 root@172.19.2.1's password: sftp> progress Progress meter enabled sftp> get /code/nxos.10.4.2.bin /bootflash/nxos.10.4.2.bin /code/nxos.10.4.2.bin 100% 1261MB 9.3MB/s 02:15 sftp> exit Copy complete, now saving to disk (please wait)... Copy complete. cs1# copy sftp: bootflash: vrf management Enter source filename: /code/n9000-epld.10.4.2.F.img Enter hostname for the sftp server: 172.19.2.1 Enter username: user1 Outbound-ReKey for 172.19.2.1:22 Inbound-ReKey for 172.19.2.1:22 user1@172.19.2.1's password: sftp> progress Progress meter enabled sftp> get /code/n9000-epld.10.4.2.F.img /bootflash/n9000-epld.10.4.2.F.img /code/n9000-epld.10.4.2.F.img 100% 161MB 9.5MB/s 00:16 sftp> exit Copy complete, now saving to disk (please wait)... Copy complete.
-
請確認 NX-OS 的運作版本:
show version顯示範例
cs1# show version Cisco Nexus Operating System (NX-OS) Software TAC support: http://www.cisco.com/tac Copyright (C) 2002-2025, Cisco and/or its affiliates. All rights reserved. The copyrights to certain works contained in this software are owned by other third parties and used and distributed under their own licenses, such as open source. This software is provided "as is," and unless otherwise stated, there is no warranty, express or implied, including but not limited to warranties of merchantability and fitness for a particular purpose. Certain components of this software are licensed under the GNU General Public License (GPL) version 2.0 or GNU General Public License (GPL) version 3.0 or the GNU Lesser General Public License (LGPL) Version 2.1 or Lesser General Public License (LGPL) Version 2.0. A copy of each such license is available at http://www.opensource.org/licenses/gpl-2.0.php and http://opensource.org/licenses/gpl-3.0.html and http://www.opensource.org/licenses/lgpl-2.1.php and http://www.gnu.org/licenses/old-licenses/library.txt. Software BIOS: version 01.14 NXOS: version 10.4(1) [Feature Release] Host NXOS: version 10.4(1) BIOS compile time: 11/25/2024 NXOS image file is: bootflash:///nxos64-cs.10.4.1.F.bin NXOS compile time: 11/30/2023 12:00:00 [12/14/2023 05:25:50] NXOS boot mode: LXC Hardware cisco Nexus9000 C9364D-GX2A Chassis Intel(R) Xeon(R) CPU D-1633N @ 2.50GHz with 32802156 kB of memory. Processor Board ID FLMXXXXXXXX Device name: cs2 bootflash: 115802886 kB Kernel uptime is 5 day(s), 2 hour(s), 13 minute(s), 21 second(s) Last reset at 3580 usecs after Thu Jun 5 15:55:08 2025 Reason: Reset Requested by CLI command reload System version: 10.4(1) Service: plugin Core Plugin, Ethernet Plugin Active Package(s): cs1#
-
安裝 NX-OS 鏡像。
安裝映像檔案後,每次交換器重新開機時都會載入該檔案。
install all nxos bootflash:nxos.<version number>.bin顯示範例
此範例使用 NX-OS 版本 10.4.2。
cs1# install all nxos bootflash:nxos.10.4.2.bin Installer will perform compatibility check first. Please wait. Installer is forced disruptive Verifying image bootflash:/nxos.10.4.2.bin for boot variable "nxos". [] 100% -- SUCCESS Verifying image type. [] 100% -- SUCCESS Preparing "nxos" version info using image bootflash:/nxos.10.4.2.bin. [] 100% -- SUCCESS Preparing "bios" version info using image bootflash:/nxos.10.4.2.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 Disruptive Reset Default upgrade is not hitless Images will be upgraded according to following table: Module Image Running-Version(pri:alt) New-Version Upg-Required ------- --------- ---------------------------------------- ------------------- ------------ 1 nxos 10.4(1) 10.4(2) Yes 1 bios xx.xx.:xx.xx xxx No Switch will be reloaded for disruptive upgrade. Do you want to continue with the installation (y/n)? [n] y Install is in progress, please wait. Performing runtime checks. [] 100% -- SUCCESS Setting boot variables. [] 100% -- SUCCESS Performing configuration copy. [] 100% -- SUCCESS Module 1: Refreshing compact flash and upgrading bios/loader/bootrom. Warning: please do not remove or power off the module at this time. [] 100% -- SUCCESS Finishing the upgrade, switch will reboot in 10 seconds.
-
交換器重新開機後,驗證 NX-OS 的新版本:
show version
顯示範例
cs1# show version Cisco Nexus Operating System (NX-OS) Software TAC support: http://www.cisco.com/tac Copyright (C) 2002-2025, Cisco and/or its affiliates. All rights reserved. The copyrights to certain works contained in this software are owned by other third parties and used and distributed under their own licenses, such as open source. This software is provided "as is," and unless otherwise stated, there is no warranty, express or implied, including but not limited to warranties of merchantability and fitness for a particular purpose. Certain components of this software are licensed under the GNU General Public License (GPL) version 2.0 or GNU General Public License (GPL) version 3.0 or the GNU Lesser General Public License (LGPL) Version 2.1 or Lesser General Public License (LGPL) Version 2.0. A copy of each such license is available at http://www.opensource.org/licenses/gpl-2.0.php and http://opensource.org/licenses/gpl-3.0.html and http://www.opensource.org/licenses/lgpl-2.1.php and http://www.gnu.org/licenses/old-licenses/library.txt. Software BIOS: version 01.14 NXOS: version 10.4(2) [Feature Release] Host NXOS: version 10.4(2) BIOS compile time: 11/25/2024 NXOS image file is: bootflash:///nxos64-cs.10.4.2.F.bin NXOS compile time: 11/30/2023 12:00:00 [12/14/2023 05:25:50] NXOS boot mode: LXC Hardware cisco Nexus9000 C9364D-GX2A Chassis Intel(R) Xeon(R) CPU D-1633N @ 2.50GHz with 32802156 kB of memory. Processor Board ID FLMXXXXXXXX Device name: cs1 bootflash: 115802886 kB Kernel uptime is 5 day(s), 2 hour(s), 13 minute(s), 21 second(s) Last reset at 3580 usecs after Thu Jun 5 15:55:08 2025 Reason: Reset Requested by CLI command reload System version: 10.4(2) Service: plugin Core Plugin, Ethernet Plugin Active Package(s): cs1#
-
-
使用以下命令升級 EPLD 映像:
show version module 1 epldinstall epld bootflash:n9000-epld.<version>.img module all最後一條指令執行完畢後,交換器將重新啟動。
顯示範例
此範例使用 EPLD 版本 10.4(2)F
cs1# show version module 1 epld EPLD Device Version --------------------------------------- MI FPGA 0x7 IO FPGA 0x17 MI FPGA2 0x2 GEM FPGA 0x2 GEM FPGA 0x2 GEM FPGA 0x2 GEM FPGA 0x2 cs1# install epld bootflash:n9000-epld.10.4.2.F.img module all Compatibility check: Module Type Upgradable Impact Reason ------ ------------------ ----------------- --------- ----------- 1 SUP Yes disruptive Module Upgradable Retrieving EPLD versions.... Please wait. Images will be upgraded according to following table: Module Type EPLD Running-Version New-Version Upg-Required ------- ------ ----------------- ----------------- ------------ ------------ 1 SUP MI FPGA 0x07 0x07 No 1 SUP IO FPGA 0x17 0x19 Yes 1 SUP MI FPGA2 0x02 0x02 No The above modules require upgrade. The switch will be reloaded at the end of the upgrade Do you want to continue (y/n) ? [n] y Proceeding to upgrade Modules. Starting Module 1 EPLD Upgrade Module 1 : IO FPGA [Programming] : 100.00% ( 64 of 64 sectors) Module 1 EPLD upgrade is successful. Module Type Upgrade-Result -------- ----- -------------- 1 SUP Success EPLDs upgraded. Module 1 EPLD upgrade is successful.-
交換器重新開機後,登入並驗證新版本的 EPLD 是否已成功載入:
show version module 1 epld
顯示範例
cs1# show version module 1 epld EPLD Device Version --------------------------------------- MI FPGA 0x7 IO FPGA 0x19 MI FPGA2 0x2 GEM FPGA 0x2 GEM FPGA 0x2 GEM FPGA 0x2 GEM FPGA 0x2
-
您可以使用交換器 CLI 輸入以下步驟的命令。
-
copy <protocol>: bootflash: vrf management範例
cs1# *copy sftp: bootflash: vrf management* Enter source filename: */code/nxos.10.6.3.F.bin* Enter hostname for the sftp server: *172.19.2.1* Enter username: *user1* Outbound-ReKey for 172.19.2.1:22 Inbound-ReKey for 172.19.2.1:22 user1@172.19.2.1's password: sftp> *progress* Progress meter enabled sftp> *get /code/nxos.10.6.3.F.bin /bootflash/nxos.10.6.3.F.bin* /code/nxos.10.6.3.F.bin 100% 1261MB 9.3MB/s 02:15 sftp> *exit* Copy complete, now saving to disk (please wait)... Copy complete. cs1# *copy sftp: bootflash: vrf management* Enter source filename: */code/n9000-epld.10.6.3.F.img* Enter hostname for the sftp server: *172.19.2.1* Enter username: *user1* Outbound-ReKey for 172.19.2.1:22 Inbound-ReKey for 172.19.2.1:22 user1@172.19.2.1's password: sftp> *progress* Progress meter enabled sftp> *get /code/n9000-epld.10.6.3.F.img /bootflash/n9000-epld.10.6.3.F.img* /code/n9000-epld.10.6.3.F.img 100% 161MB 9.5MB/s 00:16 sftp> *exit* Copy complete, now saving to disk (please wait)... Copy complete.
-
驗證 NX-OS 的執行版本:
show version範例
cs1# *show version* Cisco Nexus Operating System (NX-OS) Software TAC support: http://www.cisco.com/tac Copyright (C) 2002-2020, Cisco and/or its affiliates. All rights reserved. The copyrights to certain works contained in this software are owned by other third parties and used and distributed under their own licenses, such as open source. This software is provided "as is," and unless otherwise stated, there is no warranty, express or implied, including but not limited to warranties of merchantability and fitness for a particular purpose. Certain components of this software are licensed under the GNU General Public License (GPL) version 2.0 or GNU General Public License (GPL) version 3.0 or the GNU Lesser General Public License (LGPL) Version 2.1 or Lesser General Public License (LGPL) Version 2.0. A copy of each such license is available at http://www.opensource.org/licenses/gpl-2.0.php and http://opensource.org/licenses/gpl-3.0.html and http://www.opensource.org/licenses/lgpl-2.1.php and http://www.gnu.org/licenses/old-licenses/library.txt. Software BIOS: version 08.38 NXOS: version 10.6.3(F) BIOS compile time: 05/29/2020 NXOS image file is: bootflash:///nxos.10.6.3.F.bin NXOS compile time: 4/28/2020 21:00:00 [04/29/2020 02:28:31] Hardware cisco Nexus9000 C9364D-GX2A Chassis Intel(R) Xeon(R) CPU E5-2403 v2 @ 1.80GHz with 8154432 kB of memory. Processor Board ID FOC20291J6K Device name: cs1 bootflash: 53298520 kB Kernel uptime is 0 day(s), 0 hour(s), 3 minute(s), 42 second(s) Last reset at 157524 usecs after Mon Nov 2 18:32:06 2020 Reason: Reset Requested by CLI command reload System version: 9.3(4) Service: plugin Core Plugin, Ethernet Plugin Active Package(s): cs1#
-
安裝 NX-OS 和 EPLD 映像。
升級至 NX-OS 10.6(3)F 及更高版本時,EPLD 映像不會自動更新。升級完成且交換器重新開機後,您必須再次執行相同的升級 install all 命令。
-
第二次升級程序會進行驗證,但會跳過 NX-OS 升級;只會更新 EPLD 映像。
-
當您已經升級到 NX-OS 10.6(3)F 及更高版本時,兩個映像將同時更新。
+ 安裝鏡像檔案後,每次交換器重新啟動時都會載入該檔案。
+ 以下範例顯示從 NX-OS 10.4(2)F 升級至 10.6(3)F。第一次執行 NX-OS 升級,第二次執行 EPLD 映像升級。
+
install all nxos bootflash:nxos.<version number>.bin
+ .範例
Details
cs1# *install all nxos bootflash:nxos.10.6.3.F.bin* <---- 1st pass updates NX-OS only Installer will perform compatibility check first. Please wait. Installer is forced disruptive Verifying image bootflash:/nxos.10.6.3.F.bin for boot variable "nxos". [####################] 100% -- SUCCESS Verifying image type. [####################] 100% -- SUCCESS Preparing "nxos" version info using image bootflash:/nxos.10.6.3.F.bin. [####################] 100% -- SUCCESS Preparing "bios" version info using image bootflash:/nxos.10.6.3.F.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 Disruptive Reset Default upgrade is not hitless Images will be upgraded according to following table: Module Image Running-Version(pri:alt) New-Version Upg-Required ------- --------- ---------------------------------------- -------------------- ------------ 1 nxos 10.4(2)(F) 10.6(3)(F) yes 1 bios v05.47(04/28/2022):v05.47(04/28/2022) v05.53(01/22/2025) yes Switch will be reloaded for disruptive upgrade. Do you want to continue with the installation (y/n)? [n] *y* Install is in progress, please wait. Performing runtime checks. [####################] 100% -- SUCCESS Setting boot variables. [####################] 100% -- SUCCESS Performing configuration copy. [####################] 100% -- SUCCESS Module 1: Refreshing compact flash and upgrading bios/loader/bootrom. Warning: please do not remove or power off the module at this time. [####################] 100% -- SUCCESS [####################] 100% -- SUCCESS Finishing the upgrade, switch will reboot in 10 seconds. cs1# *install all nxos bootflash:nxos.10.6.3.F.bin* <---- 2nd pass updates EPLD image only Installer will perform compatibility check first. Please wait. Installer is forced disruptive Verifying image bootflash:/nxos.10.6.3.F.bin for boot variable "nxos". [####################] 100% -- SUCCESS Verifying EPLD/FPGA image //bootflash/nxos.10.6.3.F.bin. [####################] 100% -- SUCCESS Verifying image type. [####################] 100% -- SUCCESS Preparing "nxos" version info using image bootflash:/nxos.10.6.3.F.bin. [####################] 100% -- SUCCESS Preparing "bios" version info using image bootflash:/nxos.10.6.3.F.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 disruptive reset default upgrade is not hitless 27 yes disruptive none default upgrade is not hitless Images will be upgraded according to following table: Module Image Running-Version(pri:alt) New-Version Upg-Required -------- --------------------- ------------------------------------- ----------------- ------------ 27 nxos 10.4(2)(F) 10.6(3)(F) no 27 bios v05.53(01/22/2025):v05.47(04/28/2022) v05.53(01/22/2025) no FPGA microcode will be upgraded according to following table: Module Type EPLD Running-Version Flashed-Version* New-Version Upg-Required ------ ---- ----------------- --------------- ---------------- ----------- ------------ 27 SUP MI FPGA 0x5 0x5 0x5 No 27 SUP IO FPGA 0x17 0x17 0x18 Yes If Running-Version and Flashed-Version are different it implies that the system has not yet been reloaded for the new version to take effect. EPLD Upgrade may result in multiple modules going offline. Switch will be reloaded for disruptive upgrade. Do you want to continue with the installation (y/n)? [n] *y* Install is in progress, please wait. Setting boot variables. [####################] 100% -- SUCCESS Performing configuration copy. [####################] 100% -- SUCCESS Performing configuration copy. [####################] 100% -- SUCCESS Module 1: Refreshing compact flash and upgrading bios/loader/bootrom. Warning: please do not remove or power off the module at this time. Module 1: Refreshing compact flash and upgrading bios/loader/bootrom. Warning: please do not remove or power off the module at this time. [####################] 100% -- SUCCESS Module 27: Refreshing compact flash and upgrading bios/loader/bootrom. Warning: please do not remove or power off the module at this time. Module 27: Refreshing compact flash and upgrading bios/loader/bootrom. Warning: please do not remove or power off the module at this time. [####################] 100% -- SUCCESS EPLD/FPGA upgrade can take up to 4 mins. Performing EPLD/FPGA upgrade. [####################] 100% -- SUCCESS Install has been successful.
-
交換器重新啟動後,請驗證 NX-OS 的新版本:
show version範例
cs1# *show version* Cisco Nexus Operating System (NX-OS) Software TAC support: http://www.cisco.com/tac Copyright (C) 2002-2020, Cisco and/or its affiliates. All rights reserved. The copyrights to certain works contained in this software are owned by other third parties and used and distributed under their own licenses, such as open source. This software is provided "as is," and unless otherwise stated, there is no warranty, express or implied, including but not limited to warranties of merchantability and fitness for a particular purpose. Certain components of this software are licensed under the GNU General Public License (GPL) version 2.0 or GNU General Public License (GPL) version 3.0 or the GNU Lesser General Public License (LGPL) Version 2.1 or Lesser General Public License (LGPL) Version 2.0. A copy of each such license is available at http://www.opensource.org/licenses/gpl-2.0.php and http://opensource.org/licenses/gpl-3.0.html and http://www.opensource.org/licenses/lgpl-2.1.php and http://www.gnu.org/licenses/old-licenses/library.txt. Software BIOS: version 05.33 NXOS: version 10.6.3(f) BIOS compile time: 09/08/2018 NXOS image file is: bootflash:///nxos.10.6.3.F.bin NXOS compile time: 11/4/2018 21:00:00 [11/05/2018 06:11:06] Hardware cisco Nexus9000 C9364D-GX2A Chassis Intel(R) Xeon(R) CPU E5-2403 v2 @ 1.80GHz with 8154432 kB of memory. Processor Board ID FOC20291J6K Device name: cs1 bootflash: 53298520 kB Kernel uptime is 0 day(s), 0 hour(s), 3 minute(s), 42 second(s) Last reset at 277524 usecs after Mon Nov 2 22:45:12 2020 Reason: Reset due to upgrade System version: 9.3(4) Service: plugin Core Plugin, Ethernet Plugin Active Package(s):
-
交換器重新開機後,再次登入並驗證新版本的 EPLD 是否已成功載入:
show version module 1 epld範例
cs2# *show version module 1 epld* EPLD Device Version --------------------------------------- MI FPGA 0x7 IO FPGA 0x19 MI FPGA2 0x2 GEM FPGA 0x2 GEM FPGA 0x2 GEM FPGA 0x2 GEM FPGA 0x2
-
如果您正在安裝 NX-OS 作為新 AFX 系統安裝的一部分,請重複這些步驟,在交換器 cs2 上安裝 NX-OS 和 EPLD 映像。
在交換器上安裝 NX-OS 後,您需要從 "安裝或升級 RCF 概述" 開始安裝 RCF。