Introduction:
All exercises are based on the “Cisco Packet Tracer” software platform.
Connect to the Cisco device through Console.
As the password was forgotten, the Cisco device needs to be restarted manually.
After powering on, press Ctrl
+ Pause
on the keyboard to interrupt the Router boot process and enter ROM Monitor Mode.
- Ignore the NVRAM configuration file (Startup-config) in IOS.
- Change the value of the configuration register from the default
0x2102
to0x2142
.
|
|
Use the
reset
command to reload IOS, which will ignore the NVRAM configuration file due to the value of0x2142
.
would you like to enter the initial configuration dialog [yes/no]:
Enter no
and press enter
.
|
|
Restore the settings of the Cisco device prior to recovery.
|
|
View the device settings, mainly to check the privilege and local account information.
There is a privilege (enable) mode password set.
A local account with the username “cisco” and an encrypted password is set.
|
|
Reset the privilege mode (enable) password and the local account (cisco) password.
|
|
Check the device version.
The value of the configuration register is 0x2142
.
|
|
Restore the value of the configuration register to
0x2102
.
|
|
Check the device version again to confirm.
|
|
Write the updated configuration values back to the startup configuration (i.e. save settings).
|
|
Restart the device.
The newly set password can be used to log in to the device.