Password Recovery Flashcards
What is the first step in the password recovery process for a Cisco router or switch?
The first step is to connect to the device using a console cable and a terminal emulator program (e.g., Tera Term or PuTTY).
What mode must a Cisco device be in to perform password recovery?
The device must be in ROMMON (ROM Monitor) mode.
What command is used to reset the configuration register to bypass the startup configuration on a Cisco router?
The command is confreg 0x2142.
What does setting the configuration register to 0x2142 do?
It tells the router to ignore the startup configuration (which contains the passwords) during the next boot.
After setting the configuration register to 0x2142, what is the next step?
Reboot the router using the reset command or power cycle the device.
How do you access the startup configuration file to reset the password?
Use the command copy startup-config running-config
How do you change the password once the running configuration has been copied to the startup configuration?
Enter global configuration mode using configure terminal and then set the new password using the appropriate command, such as
enable secret [newpassword]
What should you do after changing the password and before saving the configuration?
Reset the configuration register to its original value using the command config-register 0x2102, then copy the running configuration to the startup configuration again and reload the device