cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1231
Views
0
Helpful
2
Replies

cisco 7k - unable to load the image

rss01
Level 1
Level 1
Hi All,

I have 2 N7k (C7702) to set up .
After getting console access to them ,I found out that both are stucked in the switch(boot)# prompt.
Probably they had PowerOn Auto Provisioning (POAP),don't remember if skip it or selecting something else.

Anyway ,here is the problem:

switch(boot)# load bootflash:n7700-s3-dk9.8.4.2.bin

switch is not yet ready to load the system sw
Unable to mount /mnt/pss, entering vshboot

So the next step was to try a different kickstart image to begin with.
Assigned an IP address and GW for mgmt0 and copying a new version to bootflash - then,reboot,CTRL-C and from the loader> ,boot the new kickstart.
In the end,it didn't fix the problem,

switch(boot)# load bootflash:n7700-s3-dk9.8.4.7.bin
switch is not yet ready to load the system sw
Unable to mount /mnt/pss, entering vshboot

So for the 2nd switch ,I've decided to give it a try and remove everything.

switch(boot)# clear nvram
switch(boot)# init system
switch(boot)# format bootflash:

Assigned an IP address and GW for mgmt0 (this time under the "loader>" prompt) and booting its kickstart directly from a server.

loader> boot tftp://x.x.x.x/n7700-s3-kickstart.8.4.7.bin,
ending up with:
Filesystem type is tftp, using whole disk
Boot failed

Error 9: Unknown boot failure

Any idea what the problem is in both of those cases?

Thanks,

 

2 Replies 2

Ruben Cocheno
Spotlight
Spotlight

@rss01 

you can find more details here 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

  1. Reload or power cycle the switch while connected via console.

  2. While the switch is booting, use CTRL-C to break the switch into loader> prompt.

  3. From the loader> prompt, enter cmdline recoverymode=1.  This stops the switch booting at the switch(boot)# prompt:

    loader > cmdline recoverymode=1 
  4. Begin the boot procedure with boot bootflash:<nxos_filename.bin>.

    loader > boot bootflash:nxos.7.0.3.I7.8.bin
  5. 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.
    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
  6. Once step 5 is complete, reload the switch:

    switch(boot)# reload
    This command will reboot this supervisor module. (y/n) ? y

     

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/

Thanks for feedback,

Actually by following this procedure I’m now here.

So after,

switch(boot)# clear nvram
switch(boot)# init system

and format bootflash: , I no longer have anything on bootflash anymore ,so when I’m trying to boot the kickstart image in loader> from a remote server ,I’m getting that error

Review Cisco Networking for a $25 gift card