Nexus5548UP系统升级

用户的两台nexus5548已经使用不少年了,系统版本是5.2.1,一些高级功能在5.2.1中不被支持。因业务须要,须要对这两台5548进行升级,查看文档,得知要将当前版本升级到7.3.5不能一步到位。ios

为了保证升级的稳定,我制定的升级步骤是先升到6.0.2.N2.7,而后再升级到7.1.4.N1.1,最后再升级到7.3.5。服务器

准备工做:ide

一、准备相应版本的NX-OSui

二、在本机搭建一台FTP服务器。this


下面升级立刻开始:spa

升级前作好配置文件的备份,事实证实,这样作是对的!
orm

一、经过命令将系统文件上传到N5548中,命令以下:rem

5548_A# copy ftp://10.96.1.240/n5000-uk9-kickstart.6.0.2.N2.7.bin bootflash:
文档

5548_A# copy ftp://10.96.1.240/n5000-uk9.6.0.2.N2.7.bin bootflash:文件上传

在这里我没有一次性将全部的文件都上传上去,由于空间不够,因此升一个版本上传一个版本。


二、安装升级

用户的环境中是两台5548作的HSRP,在这里我先升级的Active
5548_A# install all kickstart bootflash:n5000-uk9-kickstart.6.0.2.N2.7.bin system bootflash:n5000-uk9.6.0.2.N2.7.bin

Verifying image bootflash:/n5000-uk9-kickstart.6.0.2.N2.7.bin for boot variable "kickstart".
[####################] 100% -- SUCCESS

Verifying image bootflash:/n5000-uk9.6.0.2.N2.7.bin for boot variable "system".
[####################] 100% -- SUCCESS

Verifying image type.
[####################] 100% -- SUCCESS

Extracting "system" version from image bootflash:/n5000-uk9.6.0.2.N2.7.bin.
[####################] 100% -- SUCCESS

Extracting "kickstart" version from image bootflash:/n5000-uk9-kickstart.6.0.2.N2.7.bin.
[####################] 100% -- SUCCESS

Extracting "bios" version from image bootflash:/n5000-uk9.6.0.2.N2.7.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  Non-disruptive install not supported if L3 was enabled



Images will be upgraded according to following table:
Module       Image         Running-Version             New-Version  Upg-Required
------  ----------  ----------------------  ----------------------  ------------
     1      system             5.2(1)N1(4)             6.0(2)N2(7)                   yes
     1   kickstart             5.2(1)N1(4)             6.0(2)N2(7)                    yes
     1        bios      v3.6.0(05/09/2012)      v3.6.0(05/09/2012)            no
     1      SFP-uC                v1.0.0.0                v1.0.0.0                         no
     1   power-seq                    v1.0                    v3.0                         yes
     3   power-seq                    v5.0                    v5.0                         no
     1          uC                     v1.2.0.1                v1.2.0.1                       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/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

Finishing the upgrade, switch will reboot in 10 seconds.

待系统重启后升级完成。按照一样的方法对standby进行升级。6.0.2.N2升级完成以后,系统没有问题,各应用也正常。

下面接着升级。

在这里我只截取部份内容:

Images will be upgraded according to following table:
Module             Image         Running-Version             New-Version  Upg-Required
------  ----------------  ----------------------  ----------------------  ------------
     1            system             6.0(2)N2(7)             7.1(4)N1(1)           yes
     1         kickstart             6.0(2)N2(7)             7.1(4)N1(1)           yes
     1              bios      v3.6.0(05/09/2012)      v3.6.0(05/09/2012)            no
     1         power-seq                    v3.0                    v3.0            no
     1            SFP-uC                v1.0.0.0                v1.0.0.0            no
     3         power-seq                    v5.0                    v5.0            no
     1   microcontroller                v1.2.0.1                v1.2.0.1            no


不知道为何,在我升级到7.1.4的时候出了点情况,配置文件中关于FC的部分配置丢失了!!还好事前备份了配置文件,迅速修改配置后,系统恢复。


Images will be upgraded according to following table:
Module             Image         Running-Version             New-Version  Upg-Required
------  ----------------  ----------------------  ----------------------  ------------
     1            system             7.1(4)N1(1)             7.3(5)N1(1)           yes
     1         kickstart             7.1(4)N1(1)             7.3(5)N1(1)           yes
     1              bios      v3.6.0(05/09/2012)      v3.6.0(05/09/2012)            no
     1         power-seq                    v3.0                    v3.0            no
     1            SFP-uC                v1.0.0.0                v1.0.0.0            no
     3         power-seq                    v5.0                    v5.0            no
     1   microcontroller                v1.2.0.1                v1.2.0.1            no

最后从7.1升级到7.3,升级完成后配置文件没有丢失,系统正常!整个升级过程虽然出了点小插曲,不过还算正常。

相关文章
相关标签/搜索