Cisco 3064 交换机从 6.0.x 升级到 7.0.x 问题

网络工程 思科 转变 思科-ios 网络核心 cisco-nx-os
2021-07-08 01:18:14

我正在尝试从 升级6.0.2.U6.5cnxos.7.0.3.I4.7,在升级之前我想确保它通过所有检查,但出现此错误。此开关尚未投入生产,但希望确保其顺利进行。难道我做错了什么?

显示版本:

Software
  BIOS:      version 2.6.0
  loader:    version N/A
  kickstart: version 6.0(2)U6(5c)
  system:    version 6.0(2)U6(5c)
  Power Sequencer Firmware:
             Module 1: version v1.0
  SFP uC:    version 2.12
  BIOS compile time:       08/06/2014
  kickstart image file is: bootflash:///n3000-uk9-kickstart.6.0.2.U6.5c.bin
  kickstart compile time:  4/6/2016 22:00:00 [04/07/2016 05:46:42]
  system image file is:    bootflash:///n3000-uk9.6.0.2.U6.5c.bin
  system compile time:     4/6/2016 22:00:00 [04/07/2016 06:14:31]

验证图像影响和它失败

switch# show install all impact system bootflash:nxos.7.0.3.I4.7.bin
Installer is forced disruptive

Verifying image bootflash:/n3000-uk9-kickstart.6.0.2.U6.5c.bin for boot variable "kickstart".
[########################################] 100% -- SUCCESS

Verifying image bootflash:/nxos.7.0.3.I4.7.bin for boot variable "system".
[########################################] 100% -- SUCCESS

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

Extracting "system" version from image bootflash:/nxos.7.0.3.I4.7.bin.
[#                                       ]   0% -- FAIL. Return code 0x404F0003 (SRG file not present/cannot be opened).
Pre-upgrade check failed. Return code 0x40930012 (SRG extraction failed).

我也有足够的空间:

switch# dir
       4096    Nov 06 20:29:22 2017  .patch/
        168    Nov 06 17:48:27 2017  20171106_174415_poap_3725_init.log
          0    Nov 13 14:31:14 2017  20171113_143114_poap_3935_init.log
        173    Nov 14 14:03:20 2017  dhclient_log
        640    Oct 21 23:06:15 2013  license_FOC1734R15X_13_1.lic
   37857280    Nov 06 19:52:06 2017  n3000-uk9-kickstart.6.0.2.U6.5c.bin
  206969903    Nov 06 19:47:52 2017  n3000-uk9.6.0.2.U6.5c.bin
  702663680    Nov 13 20:53:54 2017  nxos.7.0.3.I4.7.bin
       1024    Nov 06 20:29:05 2017  sprom_cstruct_2_0_0
       1024    Nov 06 20:29:40 2017  sprom_cstruct_3_0_0
       4096    Jan 29 23:00:20 2010  vdc_2/
       4096    Jan 29 23:00:20 2010  vdc_3/
       4096    Jan 29 23:00:20 2010  vdc_4/
       4096    Nov 06 20:29:23 2017  virtual-instance/

Usage for bootflash://
 1078501376 bytes used
  816668672 bytes free
 1895170048 bytes total

注意:我还根据此错误验证了没有打开 TCP 连接https://bst.cloudapps.cisco.com/bugsearch/bug/CSCut84783/?referring_site=bugquickviewredir

2个回答

解决方案:

为了测试,我下载了7.0(3)I4(4)nx-os 文件,但同样的问题,没有运气:(

但后来我决定只安装而不是验证,它的工作原理!

switch# install all nxos bootflash:nxos.7.0.3.I4.4.bin
Installer is forced disruptive

Verifying image bootflash:/nxos.7.0.3.I4.4.bin for boot variable "nxos".
[########################################] 100% -- SUCCESS

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

Extracting "nxos" version from image bootflash:/nxos.7.0.3.I4.4.bin.
[########################################] 100% -- SUCCESS

Extracting "bios" version from image bootflash:/nxos.7.0.3.I4.4.bin.
[########################################] 100% -- SUCCESS

Performing runtime checks.
[########################################] 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  Unsupported in new image, module needs to be powered off



Images will be upgraded according to following table:
Module             Image         Running-Version             New-Version  Upg-Required
------  ----------------  ----------------------  ----------------------  ------------
     1         kickstart            6.0(2)U6(5c)             7.0(3)I4(4)           yes
     1              bios      v4.0.0(12/05/2016)      v3.8.0(01/25/2016)            no
     1            SFP-uC                   v2.12                    v0.0            no


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

吃鸡大餐!

显示版本:

Software
  BIOS: version 4.0.0
  NXOS: version 7.0(3)I4(4)
  BIOS compile time:  12/05/2016
  NXOS image file is: bootflash:///nxos.7.0.3.I4.4.bin
  NXOS compile time:  10/24/2016 15:00:00 [10/24/2016 22:44:16]


Hardware
  cisco Nexus3000 C3064PQ Chassis
  Intel(R) Celeron(R) CPU        P4505  @ 1.87GHz with 3903432 kB of memory.
  Processor Board ID FOC17211CBG

  Device name: switch
  bootflash:    1596672 kB
  usb1:               0 kB (expansion flash)

由于新 NX-OS 版本 7 的重大变化,只有少数升级可能性。来自 Cisco 发行说明白皮书:

您可以执行从以下版本到 Cisco NX-OS 版本 7.0(3)I7(1) 的在线软件升级 (ISSU):

  • 7.0(3)I6(1)
  • 7.0(3)i5(2)
  • 7.0(3)i5(1)

由于需要升级 BIOS,唯一支持的升级方法是从版本 6.0(2)U6(3) 全部安装。如果没有 7.0(3)I7(1) 版 BIOS,将无法加载 7.0(3)I7(1) 映像。

文章链接:https : //www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus3000/sw/release/70371/n3k_70371_nxos_rn.html#_Toc453307910