下载并安装 Cisco FC 交换机 NX-OS 软件
必须将交换机操作系统文件和 RCF 文件下载到 MetroCluster 光纤网配置中的每台交换机。
此任务需要使用文件传输软件(如 FTP、TFTP、SFTP 或 SCP)将文件拷贝到交换机。
必须在 MetroCluster 光纤网配置中的每台 FC 交换机上重复这些步骤。
必须使用受支持的交换机软件版本。
注
显示的输出是针对 Cisco IP 交换机的。但是,这些步骤也适用于 Cisco FC 交换机。
- 下载受支持的 NX-OS 软件文件。
- 将交换机软件拷贝到交换机:copy sftp://root@server-ip-address/tftpboot/NX-OS-file-name bootflash: vrf management
在此示例中,nxos.7.0.3.I4.6.bin 文件从 SFTP 服务器 10.10.99.99 拷贝到本地 bootflash 中:
IP_switch_A_1# copy sftp://root@10.10.99.99/tftpboot/nxos.7.0.3.I4.6.bin bootflash: vrf management
root@10.10.99.99's password: password
sftp> progress
Progress meter enabled
sftp> get /tftpboot/nxos.7.0.3.I4.6.bin /bootflash/nxos.7.0.3.I4.6.bin
Fetching /tftpboot/nxos.7.0.3.I4.6.bin to /bootflash/nxos.7.0.3.I4.6.bin
/tftpboot/nxos.7.0.3.I4.6.bin 100% 666MB 7.2MB/s 01:32
sftp> exit
Copy complete, now saving to disk (please wait)... - 在每台交换机上验证交换机 NX-OS 文件是否存在于每台交换机的 bootflash 目录中:dir bootflash:
以下示例显示这些文件存在于 IP_switch_A_1 上:
IP_switch_A_1# dir bootflash:
.
.
.
698629632 Jun 13 21:37:44 2017 nxos.7.0.3.I4.6.bin
.
.
.
Usage for bootflash://sup-local
1779363840 bytes used
13238841344 bytes free
15018205184 bytes total
IP_switch_A_1# - 安装交换机软件:install all nxos bootflash:nxos.version-number.bin安装交换机软件后,交换机将自动重新加载(重新启动)。
以下示例显示了 IP_switch_A_1 上的软件安装:
IP_switch_A_1# install all nxos bootflash:nxos.7.0.3.I4.6.bin
Installer will perform compatibility check first. Please wait.
Installer is forced disruptive
Verifying image bootflash:/nxos.7.0.3.I4.6.bin for boot variable "nxos".
[####################] 100% -- SUCCESS
Verifying image type.
[####################] 100% -- SUCCESS
Preparing "nxos" version info using image bootflash:/nxos.7.0.3.I4.6.bin.
[####################] 100% -- SUCCESS
Preparing "bios" version info using image bootflash:/nxos.7.0.3.I4.6.bin.
[####################] 100% -- SUCCESS [####################] 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 7.0(3)I4(1) 7.0(3)I4(6) yes
1 bios v04.24(04/21/2016) v04.24(04/21/2016) 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.
IP_switch_A_1# - 等待交换机重新加载,然后登录交换机。交换机重新启动后,将显示登录提示符:
User Access Verification
IP_switch_A_1 login: admin
Password:
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (C) 2002-2017, Cisco and/or its affiliates.
All rights reserved.
.
.
.
MDP database restore in progress.
IP_switch_A_1#
The switch software is now installed. - 验证是否已安装交换机软件:show version以下示例显示了输出:
IP_switch_A_1# show version
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (C) 2002-2017, Cisco and/or its affiliates.
All rights reserved.
.
.
.
Software
BIOS: version 04.24
NXOS: version 7.0(3)I4(6) <<< switch software version
BIOS compile time: 04/21/2016
NXOS image file is: bootflash:///nxos.7.0.3.I4.6.bin
NXOS compile time: 3/9/2017 22:00:00 [03/10/2017 07:05:18]
Hardware
cisco Nexus 3132QV Chassis
Intel(R) Core(TM) i3- CPU @ 2.50GHz with 16401416 kB of memory.
Processor Board ID FOC20123GPS
Device name: A1
bootflash: 14900224 kB
usb1: 0 kB (expansion flash)
Kernel uptime is 0 day(s), 0 hour(s), 1 minute(s), 49 second(s)
Last reset at 403451 usecs after Mon Jun 10 21:43:52 2017
Reason: Reset due to upgrade
System version: 7.0(3)I4(1)
Service:
plugin
Core Plugin, Ethernet Plugin
IP_switch_A_1# - 在 MetroCluster 光纤网配置中的其余三台 FC 交换机上重复上述步骤。
提供反馈