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

Cisco Nexus 7k password recovery for admin vdc and non-default vdc

Dear All,

 

Good day,

 

I have cisco Nexus 7000 series switches with VPC configured. I have 3 VDC configured in each nexus switch and the password for 2 VDC in 1 switch and 3 VDC in another switch includes admin VDC password not working. I have to reset the password for both switches. Kindly advise how I can do it. Should I need to ask for downtime to the company?

Kindly advise and please put the steps that I need to follow because I am going to do in production environment.

 

Thanks and Regards,

Kabeer

2 Replies 2

Francesco Molino
VIP Alumni
VIP Alumni
Hi

If you don't have anymore the password then you're going to need to reboot the box:
https://www.cisco.com/c/en/us/td/docs/switches/datacenter/sw/password_recovery/b_nx_os_pwr/nx_os_pw.html

This means it'll be disruptive for the production.

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

Hi All,

 

I got the downtime from the company, So I need to recover the password for all VDC.

I prepare my own document, could you please verify it 

Steps to follow to reset the password for Nexus Switch

 

In the below steps, I am not able to understand why we need to do step 8 ?

 

and after I reset Admin VDC password how can i switch to other VDC to recover the password?

 

  1. Connect the console to the switch
  2. Reboot the switch
  3. While rebooting continuously press ctrl + C or ctrl +] to break the bootup
  4. And then switch will enter the below mode

Here if it shows loader we need to enter below command

Loader> boot kickstart.x.x.x.x.bin

And then it will enter boot mode

switch(boot)# configure terminal

switch(boot-config)# admin-password <new password>

WARNING! Remote Authentication for login through console has been

disabled

switch(boot-config)# exit

switch(boot)#

 

   5.then look at the directory file           dir bootflash:

  1. Load the Cisco NX-OS system software image.

In the following example, the system image filename is nx-os.bin:

switch(boot) # load bootflash:nx-os.bin 

  1. Log in to the device using the new administrator password.

switch login: adminPassword: <new password

  1. Reset the new password to ensure that is it is also the Simple Network Management Protocol (SNMP) password.

switch# configure terminalswitch(config)# username admin password <new password>switch(config)# exit9. and then save the configuration switch# copy running-config startup-config