1次Nexus 5596交换机版本升级操作

1 背景

Hardware

TEST-N5596-1# show inve
NAME: "Chassis", DESCR: "Nexus 5596 Chassis"
PID: N5K-C5596T        , VID: V02 , SN: FOX1234ABCD

NAME: "Module 1", DESCR: "O2 32X10GBase-T + 16X10GE/Modular Supervisor"
PID: N5K-C5596T        , VID: V02 , SN: FOX1234ABCE

Version

Current version :7.0(6)
Target version:7.3(13)
TEST-N5596-1# sh version 
Software
  BIOS:      version 3.6.0
  loader:    version N/A
  kickstart: version 7.0(6)N1(1)
  system:    version 7.0(6)N1(1)
  Power Sequencer Firmware: 

2 Upgrade Step

2.1 Copy image to bootflash:

Nexus 5596 image including 2 files :

  1. kickstart
  2. system image
TEST-N5596-1# copy ftp://cisco:123456@10.248.1.1/n5000-uk9-kickstart.7.3.13.N1.1.bin bootflash:
Enter vrf (If no input, current vrf 'default' is considered): management
Password: 
***** Transfer of file Completed Successfully *****    
Copy complete, now saving to disk (please wait)...


TEST-N5596-1# copy ftp://cisco:123456@10.248.1.1/n5000-uk9.7.3.13.N1.1.bin bootflash:
Enter vrf (If no input, current vrf 'default' is considered): management
Password: 
***** Transfer of file Completed Successfully *****    
Copy complete, now saving to disk (please wait)...

2.2 Verify the image md5 value

TEST-N5596-1# show file bootflash:n5000-uk9-kickstart.7.3.13.N1.1.bin md5sum 
5344868d2fdade0308e755b82ea7e7d

TEST-N5596-1# show file bootflash:n5000-uk9.7.3.13.N1.1.bin md5sum 
fca6c4f93e013e32dcb82023a5a79951

2.3 Install image

TEST-N5596-1# install all kickstart bootflash:n5000-uk9-kickstart.7.3.13.N1.1.bin system bootflash:n5000-uk9.7
.3.13.N1.1.bin 

以下为输出的logging

交换机会先进行兼容性检测
Verifying image bootflash:/n5000-uk9-kickstart.7.3.13.N1.1.bin for boot variable “kickstart”.
[####################] 100% – SUCCESS

Verifying image bootflash:/n5000-uk9.7.3.13.N1.1.bin for boot variable “system”.
[####################] 100% – SUCCESS

Verifying image type.
[[########### ] 50% 2024 Feb 24 02:40:30 TEST-N5596-1 %NETSTACK-2-MPULLUP: netstack [3449] udp_inpu
t: m_pullup failed for UDP, error No message of desired type
[####################] 100% – SUCCESS

Extracting “system” version from image bootflash:/n5000-uk9.7.3.13.N1.1.bin.
[[####################] 100% – SUCCESS

Extracting “kickstart” version from image bootflash:/n5000-uk9-kickstart.7.3.13.N1.1.bin.
[####################] 100% – SUCCESS

Extracting “bios” version from image bootflash:/n5000-uk9.7.3.13.N1.1.bin.
[[####################] 100% – SUCCESS

Performing module support checks.
[####################] 100% – SUCCESS

Notifying services about system upgrade.
2024 Feb 24 02:43:40 TEST-N5596-1 last message repeated 2 times
2024 Feb 24 02:43:40 TEST-N5596-1 %VSHD-5-VSHD_SYSLOG_CONFIG_I: Configured from vty by admin on vsh.25523
[####################] 100% – SUCCESS

Compatibility check is done:
Module bootable Impact Install-type Reason


 1       yes      disruptive         reset  Incompatible image
 2       yes      disruptive         reset  Incompatible image
 3       yes      disruptive         reset  Incompatible image
 4       yes      disruptive         reset  Incompatible image

Images will be upgraded according to following table:
Module Image Running-Version New-Version Upg-Required


 1            system             7.0(6)N1(1)            7.3(13)N1(1)           yes
 1         kickstart             7.0(6)N1(1)            7.3(13)N1(1)           yes
 1              bios      v3.6.0(05/09/2012)      v3.6.0(05/09/2012)            no
 1         power-seq                    v5.0                    v5.0            no
 1            SFP-uC                v1.1.0.0                v1.0.0.0            no
 2         power-seq                    v1.0                    v1.0            no
 3         power-seq                    v1.0                    v1.0            no
 4         power-seq                    v1.0                    v1.0            no
 1   microcontroller                v1.0.0.1                v1.0.0.2           yes

2.4 Type yes to continue installation

Switch will be reloaded for disruptive upgrade.
Do you want to continue with the installation (y/n)?  [n] y

以下为logging输出

Install is in progress, please wait.

Performing runtime checks.
[####################] 100% -- SUCCESS

Setting boot variables.
[#                   ]   0%2024 Feb 24 02:44:34 TEST-N5596-1 %VSHD-5-VSHD_SYSLOG_CONFIG_I: Configured from vty
 by root on vsh.25561
[####################] 100% -- SUCCESS

Performing configuration copy.
[####################] 100% -- SUCCESS

Module 1: Refreshing compact flash and upgrading bios/loader/bootrom/power-seq.
Warning: please do not remove or power off the module at this time.
Note: Power-seq upgrade needs a power-cycle to take into effect.
Use command 'reload power-cycle' 
Note: Micro-controller upgrade needs a power-cycle to take into effect.
On success of micro-controller upgrade, SWITCH OFF THE POWER to the system and then, power it up.
[[####################] 100% -- SUCCESS

升级完成,提示交换机会在10秒内自动重启
这时你啥也不用做,等待就行了

Finishing the upgrade, switch will reboot in 10 seconds.
TEST-N5596-1#  

2.5 Confirm version after reboot

TEST-N5596-1# sh version 

Software
  BIOS:      version 3.6.0
  Power Sequencer Firmware: 
             Module 1: v5.0
  Microcontroller Firmware:        version v1.0.0.1
  QSFP Microcontroller Firmware:   
             Module not detected
  CXP Microcontroller Firmware:   
             Module not detected
  kickstart: version 7.3(13)N1(1)
  system:    version 7.3(13)N1(1)

顺便说一句,Nexus5596早就停产了

posted @ 2024-05-18 17:13  朱军杰  阅读(35)  评论(0)    收藏  举报  来源