1台Cisco Nexus 93180要从9.3 升级到10.2.7.M
1 拷贝image到bootflash
本次通过ftp方式拷贝,
也可以通过TFTP,但速度较慢,
也可以直接使用U盘拷贝
Nexus93180管理IP 10.248.1.1 (interface mgmt 0)
FTP SERVER: 10.248.1.254
FTP 用户名: cisco
FTP 密码: 333333
Nexus93180# copy ftp://cisco:333333@10.248.1.254/nxos64-cs.10.2.7.M.bin bootflash:
Enter vrf (If no input, current vrf 'default' is considered): management
***** Transfer of file Completed Successfully *****
Copy complete, now saving to disk (please wait)...
2 拷贝完成后,计算一下MD5值
确认与cisco.com上的md5值相同,确保文件没有损坏
Nexus-93180# show file bootflash:nxos64-cs.10.2.7.M.bin md5sum
8ec58aa31b351833cb85e78b69868df4
3 开始升级
Nexus-93180# install all nxos bootflash:nxos64-cs.10.2.7.M.bin
Installer will perform compatibility check first. Please wait.
Installer is forced disruptive
Verifying image bootflash:/nxos64-cs.10.2.7.M.bin for boot variable "nxos".
[#[####################] 100% -- SUCCESS
Verifying image type.
[####################] 100% -- SUCCESS
Preparing "nxos" version info using image bootflash:/nxos64-cs.10.2.7.M.bin.
[####################] 100% -- SUCCESS
Preparing "bios" version info using image bootflash:/nxos64-cs.10.2.7.M.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 9.3(3) 10.2(7) yes
1 bios v05.47(04/28/2022):v05.47(04/28/2022) v05.51(11/29/2023) yes
Switch will be reloaded for disruptive upgrade.
这里会询问是否继续安装,输入y,回车
Do you want to continue with the installation (y/n)? [n] y
4 系统继续安装
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.
完成后系统会自动重启
5 重启后确认新版本生效
Nexus-93108# sh version
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (C) 2002-2024, Cisco and/or its affiliates.
All rights reserved.
Software
BIOS: version 05.51
NXOS: version 10.2(7) [Maintenance Release]
BIOS compile time: 11/29/2023
NXOS image file is: bootflash:///nxos64-cs.10.2.7.M.bin
NXOS compile time: 2/28/2024 12:00:00 [02/17/2024 21:17:45]