cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
20123
Views
20
Helpful
6
Comments
Lucien Avramov
Level 10
Level 10

This video will show you how to perform the password recovery on Nexus 5000 running later than 4.0(0)N1(2a) code.

 

The command used during this process is CTRL + ]

 

Note that you can only change the password for the user admin with a password recovery

6 Comments
jpabellon
Level 1
Level 1

What if you've configured AAA, how does this affect the password recovery procedure.

Lucien Avramov
Level 10
Level 10

The first steps are same as on the video.

There is an additional step if you have AAA:

Until you are running a code that has the fix for CSCsw49543, you need to unplug physically the cables connecting the Nexus 5000 to your AAA server, so there is a fallback that can happen and use the local authentication. Once you run a code with this fix, it changes the console auth login to be only local after the password recovery is done, so you won't have to unplug your cables going to the AAA server anymore.

Peter Kim
Level 1
Level 1

Lucien,

I've been trying to reset the 5K.  It just doesn't work.  I found exact same document for password recovery.  It doesn't work.  After I reset the admin-password with my own password, it still doesn't reset to what I changed to.  I watched your video and it is exactly same thing.  Am I missing something here?

Lucien Avramov
Level 10
Level 10

Peter, you probably have AAA configured, have you tried to unplug all the connections on the 5k, besides your console, so fallback can happen?

Else, there is a method that will make you loose all your configuration:

1. Clear nvram and delete the startup config and init the bootflash:

  switch(boot)# clear nvram

  switch(boot)# init system

2. Reboot and be ready to load kickstart from tftp:

loader> set ip<ip_address>  <mask>

loader>set gw<gw_address>

That should set your mgmt0 network up.

Then you can boot from your tftp server:

loader>boot tftp://1.2.3.4/kickstart_image_name_on_tftp_server

That will get you to the switch(boot)#

From there you can complete your password recovery procedure and load the system image

Peter Kim
Level 1
Level 1

Thanks for your quick reply.  Actually, I already did "write erase" instead of "clear nvram".  After reloading with IOS image, it came back with a prompt to reset admin password.  Once I reset the password, I was done.  I was able to run "copy runnning start" command.  I didn't have to use kickstart image.

princekennedy
Level 1
Level 1

Thanks Lucien I just got a datacenter job and your videos helps me a lot in deploying vpc's and fex's thanks very much for your good work.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links