09-13-2013 10:01 AM
Hello all,
I tried to do a password recovery on a n7k-sup2 and can't seem to login. I issued a write erase in the switch(boot) mode and reloaded. I'm lookinga at the cisco manuals online but can't seem to find anything on the default password. All I can find is a reference to if a write erase is implemented then at startup you get this:
User Access Verifcation
login:admin
password: <password>
I tried every combination I could think of but can't seem to figure out the default password. Any help would be greatly appreciated.
Just to make sure the default user id is admin correct?
09-14-2013 01:21 PM
Hi,
Usually, if you are building the switch for the first time, there is no password. So, at boot the the default username is admin and you have to create a password at that time.
did you tray
admin
cisco
HTH
07-29-2016 10:24 AM
http://www.cisco.com/c/en/us/td/docs/switches/datacenter/sw/password_recovery/b_nx_os_pwr.pdf
03-26-2018 03:49 PM
Press Ctrl + C to boot loader.
GNU GRUB version 0.97
Autobooting bootflash:/n7000-s2-kickstart.6.1.2.bin bootflash:/n7000-s2-dk9.6.1
.2.bin...
Filesystem type is ext2fs, partition type 0x83
Booting kickstart image: bootflash:/n7000-s2-kickstart.6.1.2.bin....
.Aborting Image Boot
Step 1
Press Ctrl + C to boot loader <---------- To Break the boot sequence
Error 2: Bad file or directory type
GNU GRUB version 0.97
Loader Version 4.1.6
loader>
switch(boot)# dir
4096 Jan 23 2013 01:16:38 lost+found/
3298653 Sep 06 2013 11:08:55 n7000-s2-debug-sh.6.1.2.gbin
218199431 Jan 23 2013 01:07:08 n7000-s2-dk9.6.1.2.bin
33193094 Jan 23 2013 01:07:30 n7000-s2-epld.6.1.2a.img
36344320 Jan 23 2013 01:07:22 n7000-s2-kickstart.6.1.2.bin
Usage for bootflash: filesystem
481603584 bytes used
1334882304 bytes free
1816485888 bytes total
switch(boot)# ^C
Step 2
switch(boot)# load bootflash:n7000-s2-dk9.6.1.2.bin ***** Boot the kickstart image *************
Filesystem type is ext2fs, partition type 0x83
Booting kickstart image: bootflash:n7000-s2-kickstart.6.1.2.bin....
...............................................................................
.......................................
Kickstart digital signature verification Successful
Image verification OK.
Step 3
***********************Change the admin password******************************
switch(boot)# conf t
switch(boot)(config)# admin-password ?
<WORD> Password for user admin (Max Size - 64)
switch(boot)(config)# admin-password ********** enter the New password ****************
WARNING! Enabling local authentication for login through console due to password recovery
step 4
switch(boot)# load bootflash:n7000-s2-dk9.6.1.2.bin ******* Load the system image******
System image digital signature verification successful.
Uncompressing system image: bootflash:/n7000-s2-dk9.6.1.2.bin Tue Mar 27 01:44:01 UTC 2018
blogger: nothing to do.
N7K11#
N7K11# wr erase ***** to Restore unit to factory default ****************
Warning: This command will erase the startup-configuration.
Do you wish to proceed anyway? (y/n) [n]
N7K11# reload
This command will reboot the system. (y/n)? [n] y
***** next reboot ********
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2012, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
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#
Done!! Thanks
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