cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
542
Views
0
Helpful
6
Replies

N9K-C9372PX write: you have write permission turned off

opencv15
Level 1
Level 1

I am unable to find how to enable write permission. as when I tried command write erase.

 

Thx

 

6 Replies 6

Ruben Cocheno
Spotlight
Spotlight

@opencv15 

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

https://www.cisco.com/c/en/us/support/docs/ios-nx-os-software/nx-os-software/216547-nxos-securely-erase-the-contents-of-th.html

Tag me to follow up.
Please mark it as Helpful and/or Solution Accepted if that is the case. Thanks for making Engineering easy again.
Connect with me for more on Linkedin https://www.linkedin.com/in/rubencocheno/

opencv15
Level 1
Level 1

Ruben Cocheno

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

 

        - FYI : https://community.cisco.com/t5/data-center-and-cloud-videos/how-to-restore-a-cisco-nexus-switch-from-loader-prompt/ba-p/3101970

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Ruben Cocheno
Spotlight
Spotlight

@opencv15 

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

Tag me to follow up.
Please mark it as Helpful and/or Solution Accepted if that is the case. Thanks for making Engineering easy again.
Connect with me for more on Linkedin https://www.linkedin.com/in/rubencocheno/

opencv15
Level 1
Level 1
Thank you Ruben Cocheno, But i can not find nxos on the directory. 
PREVIEW
bootflash::

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

opencv15
Level 1
Level 1
Thank you Ruben Cocheno, But i can not find nxos on the directory.
bootflash::

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

Review Cisco Networking for a $25 gift card