Nexus password recovery

switch# reload
This command will reboot the system. (y/n)? [n] Y
2011 Feb 1 13:09:56 switch %$ VDC-1 %$ %PLATFORM-2-PFM_SYSTEM_RESET: Manual system
restart from Command Line Interface
writing reset reason 9,
..
..

GNU GRUB version 0.97

Autobooting bootflash:/n7000-s1-kickstart.x.x.x.bin bootflash:/n…
Filesystem type is ext2fs, partition type 0x83
Booting kickstart image: bootflash:/n7000-s1-kickstart.x.x.x.bin….(—-> Press Ctrl + C)
….Aborting Image Boot

GNU GRUB version 0.97

Loader Version 3.22.0

loader>
Step 3 Restart the device with only the kickstart image to reach the switch boot prompt.

loader> boot n7000-s1-kickstart.x.x.x.x.bin
Filesystem type is ext2fs, partition type 0x83
Booting kickstart image: n7000-s1-kickstart.5.1.2.gbin….
…………………………………………………………………….
…………………Image verification OK
..
..
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
switch(boot)#
Step 8 Reset the network administrator password.

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)#
Step 9 Display the bootflash: contents to locate the Cisco NX-OS software image file.

switch(boot)# dir bootflash:
Step 10 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
Step 11 Log in to the device using the new administrator password.

switch login: admin
Password: <new password>

https://www.cisco.com/c/en/us/td/docs/switches/datacenter/sw/password_recovery/b_nx_os_pwr/nx_os_pw.html#wp47252

 

Запись опубликована в рубрике Cisco, Nexus, Блог. Добавьте в закладки постоянную ссылку.