[c-nsp] Upgrading NXOS

Drew Weaver drew.weaver at thenap.com
Wed Sep 2 13:58:14 EDT 2020


Howdy and thanks for replying.

So the switch is running 7.0(3)I1(3)
According to docs:

Upgrading from Cisco NX-OS Release 7.0(3)1(2), Release 7.0(3)I1(3), or Release 7.0(3)I1(3a), requires installing a patch for Cisco Nexus 9500 platform switches only. For more information on the upgrade patch, see Patch Upgrade Instructions.

So I tried to install the two patches that are needed to upgrade 7.0(3)I1(3) which are:

CSCuy16604
CSCuy16606

NXLAB# install activate n9000-dk9.7.0.3.I1.3.CSCuy16604.bin
Install operation 26 failed because there was no space left on device

I have no idea which device it is saying has no space.

NXLAB# dir | i free
229980663808 bytes free

NXLAB# dir volatile: | i free
  629145600 bytes free

Any clue?

From: Aaron <dudepron at gmail.com>
Sent: Wednesday, September 2, 2020 11:37 AM
To: Drew Weaver <drew.weaver at thenap.com>
Cc: cisco-nsp at puck.nether.net
Subject: Re: [c-nsp] Upgrading NXOS

Check to see if you have to upgrade to an intermediate version first. There was an issue that would brick the switch if you tried to go straight to the latest version.

On Wed, Sep 2, 2020 at 8:54 AM Drew Weaver <drew.weaver at thenap.com<mailto:drew.weaver at thenap.com>> wrote:
Hello,

Current version: 7.0(3)I1(3)

Upgrading a 9508:

Checked for errata and it said something about bios upgrades failing due to the bootrom monitoring so I set this:

diagnostic monitor interval module 1 test PrimaryBootROM hour 23 min 59 second 59
diagnostic monitor interval module 2 test PrimaryBootROM hour 23 min 59 second 59
diagnostic monitor interval module 3 test PrimaryBootROM hour 23 min 59 second 59
diagnostic monitor interval module 1 test SecondaryBootROM hour 23 min 59 second 59
diagnostic monitor interval module 2 test SecondaryBootROM hour 23 min 59 second 59
diagnostic monitor interval module 3 test SecondaryBootROM hour 23 min 59 second 59
diagnostic monitor interval module 27 test PrimaryBootROM hour 23 min 59 second 59
diagnostic monitor interval module 28 test PrimaryBootROM hour 23 min 59 second 59
diagnostic monitor interval module 27 test SecondaryBootROM hour 23 min 59 second 59
diagnostic monitor interval module 28 test SecondaryBootROM hour 23 min 59 second 59

Issue this command:

install all nxos nxos.7.0.3.I4.8z.bin

goes through the process and gets to BIOS update part:

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

Module 2: Refreshing compact flash and upgrading bios/loader/bootrom.
Warning: please do not remove or power off the module at this time.
[#                   ]   0% -- FAIL.
Return code 0x4071000C (BIOS erase failed).
CAUTION: The BIOS/loader/bootrom of above module may be in corrupted state. Please try programming it again and DO NOT reboot without programming it successfully, otherwise you have to manually take out the flash from the card and program it in a BIOS programming station.

Resetting boot variables. Please wait.

Install has failed. Return code 0x40930015 (Pre-upgrade of a module failed).
Please identify the cause of the failure, and try 'install all' again.

I've tried it a few times and it always fails.

Any way to manually try to update the bios outside of the install all process or am I doing this incorrectly to begin with?

I have read some instructions that say you just set the new .bin file as the boot parameter and reboot it and it magically takes care of everything. Then the other instructions I read says don't do that incase the bios upgrade fails while its rebooting.

Thanks if anyone has run into this before. May just scrap this thing.
_______________________________________________
cisco-nsp mailing list  cisco-nsp at puck.nether.net<mailto:cisco-nsp at puck.nether.net>
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/


More information about the cisco-nsp mailing list