Upgrade Spine-Leaf switch ACI to release 14.2(4i) procedure manually


1) scaricare la immagine aci-n9000-dk9.14.2.(4i).bin da un sito Cisco all'interno di un drive USB


2) collegare la USB allo switch Spine or Leaf oggetto dell'upgrade ed eseguire il copy file .bin nella /bootflash 


spine# copy usb/usb1/aci-n9000-dk9.14.2.4i.bin /bootflash/


3) Verificare che la nuova image sia inserita correttamente nella bootflash


spine# dir /bootflash/
CpuUsage.Log MemoryLog.65%usage aci-n9000-dk9.14.0.1h.bin aci-n9000-dk9.14.2.4i.bin auto-k auto-s diagbootup disklog.txt fanfaillog.txt libmon.logs lost+found lxc memlog.txt uribapi_log.txt


4) Verificare il corrente bootvariable per lo switch da aggiornare (verifica preventiva prima del nuovo upgrade)


spine# cat /mnt/cfg/0/boot/grub/menu.lst.local


#General Configuration

#disable certificate
#title bootflash:aci-n9000-dk9.14.0.1h.bin
#boot bootflash:aci-n9000-dk9.14.0.1h.bin


spine# cat /mnt/cfg/1/boot/grub/menu.lst.local


#General Configuration

#disable certificate
#title bootflash:aci-n9000-dk9.14.0.1h.bin
#boot bootflash:aci-n9000-dk9.14.0.1h.bin


NOTA: come si evince il boot è ancora settato sulla versione software corrente e non quella nuova


Altro output al seguire dei comandi di verifica sopra:


# 0

#disable certificate


#serial --unit=0 --speed=9600 --word=8  --stop=1  --parity=no

#terminal --timeout=8 serial console

boot auto-k


5) settare la nuova release aci-n9000-dk9.14.2.4i.bit per il boot variable switch da aggiornare con i seguenti comandi:


spine# clear-bootvars.sh
In progress
In progress
In progress


spine# setup-bootvars.sh aci-n9000-dk9.14.2.4i.bin
In progress
In progress
In progress
In progress
In progress
In progress


6) Riverificare la nuova variabile di boot


spine# cat /mnt/cfg/0/boot/grub/menu.lst.local
boot aci-n9000-dk9.14.2.4i.bin


spine# cat /mnt/cfg/1/boot/grub/menu.lst.local
boot aci-n9000-dk9.14.2.4i.bin


 6) Eseguire il reboot dello switch attraverso il seguente comando



Running INXOS PE IFC image
test sse call id 545
sw card id is 355


Lo switch prende un pò di tempo per la fase di power-off e restart.


7) Verificare la parte relativa a FPGA e BIOS attraverso il comando


spine#/bin/check-fpga.sh FpGaDoWnGrAdE

Current log for FPGA images installation:
Could not pull epld logs from plog
Do you want to flash the FPGAs? (yes or no)
Don't touch/powercyle the box until the process is done
or else the box won't be able to recover
Starting FPGA upgrade ...
In progress
/bin/check-fpga.sh: line 58: [: -eq: unary operator expected
Upgrading FPGAs for 21156
%SAFESTR CONSTRAINT: strncats: dmax exceeds max, error code=403
updatetordev_versions IOFPGA: device id 220 and version 17
updatetordevversions MIFPGA0 device id 221 and version 3
updatetordevversions MIFPGA1 device id 221 and version 0
Compatibility check:
Module Type Upgradable Impact Reason

  • ----- ---- ---------- ---------- ------

1 SUP Yes disruptive Module Upgradable

Retrieving EPLD versions... Please wait.

verifyepldimghdr - hdr->version = 0x1; EPLDIMAGE_VERSION = 0x1
epldgetinfofromhdr: model maibock, hw_changes[] = 0x0, 0x0, 0x0
EPLD golden feature is NOT supported.
Images will be upgraded according to following table:
Module Type EPLD Running-Version New-Version Upg-Required

  • ----- ---- ------------- --------------- ----------- ------------

1 SUP MI FPGA 0.003 0.003 No
1 SUP IO FPGA 0.017 0.017 No
All Modules are up to date.
%SAFESTR CONSTRAINT: strncats: dmax exceeds max, error code=403
removed `/bootflash/epld.gimg'


8) Re-eseguire il "power-cycle" switch per la parte FPGA/EPLD e BIOS con la nuova versione attraverso il comando





9) Verificare lo show-version switch


spine# show version
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Documents: http://www.cisco.com/en/US/products/ps9372/tsdproductssupportserieshome.html
Copyright (c) 2002-2014, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and

BIOS: version 05.39
kickstart: version 14.2(4i) [build 14.2(4i)]
system: version 14.2(4i) [build 14.2(4i)]
PE: version 4.2(4i)
BIOS compile time: 08/30/2019
kickstart image file is: /bootflash/aci-n9000-dk9.14.2.4i.bin
kickstart compile time: 04/21/2020 09:45:55 [04/21/2020 09:45:55]
system image file is: /bootflash/auto-s
system compile time: 04/21/2020 09:45:55 [04/21/2020 09:45:55]

cisco N9K-C9332C ("supervisor")
Intel(R) Xeon(R) CPU D-1526 @ 1.80GHz with 16204800 kB of memory.
Processor Board ID FDO23370SPL

Device name: spine
bootflash: 125029376 kB

Kernel uptime is 00 day(s), 02 hour(s), 48 minute(s), 37 second(s)

Last reset at 449000 usecs after Sat Dec 04 14:27:07 2021 UTC
Reason: unknown
System version: 14.2(4i)
Service: module reloaded

Core Plugin, Ethernet Plugin