02-29-2024 10:19 PM
I am unable to find how to enable write permission. as when I tried command write erase.
Thx
03-01-2024 12:25 AM
try the procedure below, just save the licenses in any case.
Reload or power cycle the switch while connected via console.
While the switch is booting, use CTRL-C to break the switch into loader> prompt.
From the loader> prompt, enter cmdline recoverymode=1. This stops the switch booting at the switch(boot)# prompt:
loader > cmdline recoverymode=1
Begin the boot procedure with boot bootflash:<nxos_filename.bin>.
loader > boot bootflash:nxos.7.0.3.I7.8.bin
The switch boots to the switch(boot)# prompt. At this prompt write, 0's to all blocks in nvram, except the license blocks, using clear nvram CLI as well as init system CLI.
Note: this test was carried out on an N9K-C9372TX-E with an Intel Core i3- CPU @ 2.50GHz and a 110G SSD. Total time for init system took ~8 seconds:
switch(boot)# clear nvram
switch(boot)# init system
This command is going to erase your startup-config, licenses as well as the contents of your bootflash:.
Do you want to continue? (y/n) [n] y
Once step 5 is complete, reload the switch:
switch(boot)# reload
This command will reboot this supervisor module. (y/n) ? y
03-02-2024 03:40 PM - edited 03-02-2024 04:02 PM
Thank you for your prompt reply. I tried but following error appears while using
> boot bootflash:nxos.7.0.3.I7.8.bin
Booting bootflash:nxos.7.0.3.I7.8.bin
Trying diskboot
Filesystem type is ext2fs, partition type 0x83
Boot failed
Error 9: Unknown boot failure
03-02-2024 11:47 PM
M.
03-04-2024 10:41 AM
You need to use the image that you have on your Nexus
loader > cmdline recoverymode=1
Begin the boot procedure with boot bootflash:<nxos_filename.bin>.
!List all files, look for nxos and extension .bin
loader > dir
Begin the boot procedure with boot bootflash:<nxos_filename.bin>.
!Replace nxos.7.0.3.I7.8.bin with file found from dir command
loader > boot bootflash:nxos.7.0.3.I7.8.bin
03-04-2024 07:35 PM
lost+found
disk_log.txt
CpuUsage.Log
MemoryLog.65%_usage
mem_log.txt.old.gz
libmon.logs
auto-s
diag_bootup
mts_buffer_log.log
mem_log.txt
lxc
aci-n9000-dk9.14.2.5k.bin
MemoryLog.75%_usage
03-04-2024 07:42 PM
lost+found
disk_log.txt
CpuUsage.Log
MemoryLog.65%_usage
mem_log.txt.old.gz
libmon.logs
auto-s
diag_bootup
mts_buffer_log.log
mem_log.txt
lxc
aci-n9000-dk9.14.2.5k.bin
MemoryLog.75%_usage
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide