Difference between revisions of "Password Recovery for Nexus Switches"

From NesevoWiki
Jump to navigationJump to search
Line 2: Line 2:
 
* Power on the device
 
* Power on the device
 
* During system bootup, type <code>Ctrl-]</code> (<code>Ctrl</code>-Key and right square bracket, that's <code>Strg</code> + <code>Alt Gr</code> + <code>9</code> on german keyboards) multiple times and wait until you get to the <code>switch(boot)#</code> prompt.
 
* During system bootup, type <code>Ctrl-]</code> (<code>Ctrl</code>-Key and right square bracket, that's <code>Strg</code> + <code>Alt Gr</code> + <code>9</code> on german keyboards) multiple times and wait until you get to the <code>switch(boot)#</code> prompt.
 +
* Enter the <code>conf t</code> command
 
* Type <code>admin-password Ad123min</code>
 
* Type <code>admin-password Ad123min</code>
 
* Type <code>dir bootflash:</code> to view bootflash content
 
* Type <code>dir bootflash:</code> to view bootflash content
 
* Boot the system image, for example <code>load bootflash:n5000-uk9.5.1.3.N2.1b.bin</code>
 
* Boot the system image, for example <code>load bootflash:n5000-uk9.5.1.3.N2.1b.bin</code>
 
* Enter the switch with username <code>admin</code> and Password <code>Ad123min</code>
 
* Enter the switch with username <code>admin</code> and Password <code>Ad123min</code>

Revision as of 12:36, 27 March 2014

  • Connect to the Nexus switch directly via serial console (not over ssh/telnet/Opengear etc.)
  • Power on the device
  • During system bootup, type Ctrl-] (Ctrl-Key and right square bracket, that's Strg + Alt Gr + 9 on german keyboards) multiple times and wait until you get to the switch(boot)# prompt.
  • Enter the conf t command
  • Type admin-password Ad123min
  • 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