Maintenance

Troubleshooting

Recovering Lost Passwords

12. Enter privileged EXEC mode and then enter the show startup-configcommand to display the passwords in the configuration file:

Router> enable

Router# show startup-config

13. Scan the configuration file displayed for the passwords (the enable and

 

enable secret passwords are usually near the beginning of the file and the

 

console password is near the end of the file). An example display follows:

 

enable secret 5 $1$ORPP$s9syZt4uKn3SnpuLDrhuei

 

enable password sand

 

.

 

.

 

line con 0

 

password seashells

 

Proceed to step 14 to replace an enable secret, console, or enable pass-

 

word. If there is no enable secret password, note the enable and console

 

passwords, if they are not encrypted, and proceed to step 17.

 

 

C A U T I O N

Do not take the next three steps unless you have determined that you must

 

change or replace the enable, enable secret, or console passwords. Failure to

 

follow the steps as shown might cause you to erase your router configuration.

 

14. Enter the configure memory command to modify or replace passwords

 

 

in NVRAM:

 

Router# configure memory

 

15. Enter the configure terminal command to enter configuration mode:

 

Router# configure terminal

 

16. Change only the passwords that are necessary for your configuration.

 

The following example shows how to change all three types of passwords.

 

The first two lines show how to change the enable secret and enable

 

passwords. The last two lines show how to change the console password:

 

Router(config)# enable secret pail

 

Router(config)# enable password shovel

 

Router(config)# line con 0

 

Router(config-line)# password con1

 

For maximum security, be sure the enable secret and enable passwords

 

are different.

4-6

Page 56
Image 56
HP AdvanceStack Internet Router manual Passwords, if they are not encrypted, and proceed to step, Nvram, Are different