04-03-2020 01:35 PM
The final part of the procedure is to run "switch# copy running-config startup-config" however, my switch stays at "switch(boot)" and will not allow me to do a "copy running-config startup-config" how can I get to just the "switch"" prompt without doing "exit" because that reboots WITHOUT saving the password change. How do I get to just the switch prompt?
Solved! Go to Solution.
04-08-2020 11:14 PM
Hi,
The password recovery procedure should not remove your existing configuration. For the switches where you do not see any config, most likely the running configuration was not saved to startup config.
If you know that for the production switches the config is saved, then you can go ahead with the pw recovery. BUT, always remember to do changes in a maintenance window. This way you avoid impact to production.
Regards,
Sergiu
04-04-2020 03:43 AM - edited 04-06-2020 11:23 PM
Hello,
Below is the password recovery steps:
1. Reload the MDS. When the switch begins its NX-OS software boot sequence, hold the Ctrl key and press the ] key to generate the Ctrl-] key sequence. This key sequence brings up the switch(boot)# prompt.
Ctrl-] switch(boot)#
2. Set a new password:
switch(boot)#configure terminal switch(boot-config)#admin-password mypassword
3. Load the system NX-OS image. Note: here you do not need to save the configuration:
switch(boot-config)#exit switch(boot)#load bootflash:nx-os.img
4. Once the operating system is loaded and running, save the configuration:
switch#copy running-config startup-config
In your case, you need to perform step 3.
Best regards,
Sergiu
04-06-2020 10:54 AM
Sergui/anyone
Thank you for that and I think I had booted to the wrong .bin. There are two of them
/m9100-s3ek9-kickstart-mz-6.2.1.bin
/m9100-s3ek9-mz-6.2.1.bin
I booted to the "kickstart" one first
Can you tell me what the difference is?
04-06-2020 11:21 PM
Hi Scott,
The MDS NX-OS, Nexus 7000 NX-OS, but also the early versions of NX-OS for Nexus 9000/3000/3500, consists in two types of files necessary to boot the switch:
The versions of both images must match for the system to boot.
The boot sequence is the following:
Cheers,
Sergiu
04-08-2020 09:00 AM
Sergui
I wanted to ask, I was able to use the procedure on two spare MDS 9148s I have and got the password changed, I have two that are in production and have configs on them I don't want to lose.If I perform the exact same procedure, will it save my current configs and when I boot up will have the same config.I did see on the two spares I have nothing in the config looked to have changed or been lost, is this the case?
04-08-2020 11:14 PM
Hi,
The password recovery procedure should not remove your existing configuration. For the switches where you do not see any config, most likely the running configuration was not saved to startup config.
If you know that for the production switches the config is saved, then you can go ahead with the pw recovery. BUT, always remember to do changes in a maintenance window. This way you avoid impact to production.
Regards,
Sergiu
04-09-2020 09:15 AM
Sergui
I appreciate very much all your help and replying to my questions. Thank you so much
Scott
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