Step1 – Download the NX-OS image need to be installed on the Nexus Switch
Step2 – Add the NX-OS image in the USB drive
Step3 – Connect the USB drive to the ACI leaf switch & login to ACI leaf on CLI
Step4 – Copy the file in switch bootflash with below command
copy usb/usb1/<NX-OS file.bin> bootflash:
Step5 – Reload the leaf and type break sequence (Ctrl – C) while leaf is rebooting so leaf will go to boot loader
Step6 – Verify that you can detect the USB and the NX-OS file in the USB
loader > dir usb/usb1
Step7 – Boot the switch with NX-OS image
loader > boot nxos.xxx.xxx.xx.bin
Step8 – Switch will boot with new NXOS image now.
Step9 – Do not forget to add & save boot variable in NXOS switch config once the switch boots in NXOS mode as below
boot nxos bootflash:<NXOS Image.bin>
I hope this article helped you in the implementation. Please provide feedback if you like me to write more related articles!!
router switch
There is no “copy” in Loader Prompt. As per whitepaper from Cisco (Using Boot Loader Commands), when using USB, you have to first boot from USB (also not “usb/usb1” but “boot usb1:nxos”(the “:” symbol is important), and then, after switch boots from USB, copy new NXOS from USB to bootflash.
Thanks for the feedback, corrected the document !!
Above steps 1-6 are to be done while booted in ACI mode.
Then reload and enter Loader>
From Loader Issue the boot bootflash:nxos-… command
Thank you for the feedback, updated the document !!