Difference between revisions of "Password Recovery for Nexus Switches"

From NesevoWiki
Jump to navigationJump to search
Line 5: Line 5:
 
* Right after the massage <code>Checking all filesystems....r. done.</code> has appeared, issue the break sequence to get to the <code>switch(boot)#</code> prompt.
 
* Right after the massage <code>Checking all filesystems....r. done.</code> has appeared, issue the break sequence to get to the <code>switch(boot)#</code> prompt.
 
** The break sequence is <code>Ctrl + ]</code>, i.e. hold the Control-Key and hit the closing square bracket.
 
** The break sequence is <code>Ctrl + ]</code>, i.e. hold the Control-Key and hit the closing square bracket.
** On a german keyboard (with US keymap activated) the Control-Key is <code>Strg</code> and the closing square bracket ist in the <code>+ * ~</code>-Key.
+
** On a german keyboard (with US keymap activated) the Control-Key is <code>Strg</code> and the closing square bracket ist on the <code>+ * ~</code> - Key.
 
* Enter the <code>conf t</code> command
 
* Enter the <code>conf t</code> command
 
* Type <code>admin-password Ad123min</code>
 
* Type <code>admin-password Ad123min</code>

Revision as of 13:44, 2 February 2015

  • On a Windows PC, change the keyboard layout to en-US
  • Connect to the Nexus switch directly via serial console (not over ssh/telnet/Opengear etc.) using TeraTerm or PuTTY
  • Power on the device
  • Wait until kickstart image has booted and the POST messages have appeared.
  • Right after the massage Checking all filesystems....r. done. has appeared, issue the break sequence to get to the switch(boot)# prompt.
    • The break sequence is Ctrl + ], i.e. hold the Control-Key and hit the closing square bracket.
    • On a german keyboard (with US keymap activated) the Control-Key is Strg and the closing square bracket ist on the + * ~ - Key.
  • Enter the conf t command
  • Type admin-password Ad123min
  • Type exit
  • Type dir bootflash: to view bootflash content
  • Boot the system image, for example load bootflash:n5000-uk9.5.1.3.N2.1b.bin
  • Enter the switch with username admin and Password Ad123min