7
© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public ITE PC v4.0 Chapter 1 1 VLSM and CIDR Password recovery

Exploration Password Recovery

Embed Size (px)

Citation preview

Page 1: Exploration Password Recovery

8/6/2019 Exploration Password Recovery

http://slidepdf.com/reader/full/exploration-password-recovery 1/7

© 2007 Cisco Systems, Inc. All rights reserved. Cisco PublicITE PC v4.0Chapter 1 1

VLSM and CIDR

Password recovery

Page 2: Exploration Password Recovery

8/6/2019 Exploration Password Recovery

http://slidepdf.com/reader/full/exploration-password-recovery 2/7

ITE PC v4.0Chapter 1 2© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Password recovery

Page 3: Exploration Password Recovery

8/6/2019 Exploration Password Recovery

http://slidepdf.com/reader/full/exploration-password-recovery 3/7

ITE PC v4.0Chapter 1 3© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Password recovery

Page 4: Exploration Password Recovery

8/6/2019 Exploration Password Recovery

http://slidepdf.com/reader/full/exploration-password-recovery 4/7

ITE PC v4.0Chapter 1 4© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Password recovery Step 1 - Login to a router.

Step 2 - Record the configuration register setting.

Task: Enter the command show version (abbreviated show ver ).

1. What is the current configuration register setting? 0x2102

Step 3 - Restar t the router.

Step 4 - Interrupt the boot up sequence.

Task: Within 60 seconds of turning the router back on, press and holdthe Control key, then press the Break key.Explanation: A break character is sent to the router, interrupting the bootup sequence.

Step 5 - Change the configuration register.

Task: Enter the commands to change the configuration register.Explanation: The configuration register is changed to tell the router toignore the configuration file in NVRAM on the next startup. The

procedure varies depending on the model of router.

Page 5: Exploration Password Recovery

8/6/2019 Exploration Password Recovery

http://slidepdf.com/reader/full/exploration-password-recovery 5/7

ITE PC v4.0Chapter 1 5© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

A. 2500 series router:

The prompt will be > with no router name. Type o/r 0x2142 and pressenter (lower case letter o, slash, lower case r, space, zero, lower case x,four, two). Type i and press enter to reload the router. Wait until therouter has rebooted. Type n when prompted to enter initialconfiguration. Press enter to see the router> prompt.

B. 1600 series router:

The prompt will be rommon 1>. Type config and type Y when asked tochange the configuration. Type N to all questions except ignore systemconfig info. When you complete responding to the questions, you willbe prompted to change the configuration again. Type N, then type resetto reload the router. Wait until the router has rebooted. Type N when

prompted to enter initial configuration. Press enter to see the router>prompt.

C. 2600 series router :

Type confreg 0x2142 ( for 2600)

Step 6 - Enter the privileged EXECmode.

Password recovery

Page 6: Exploration Password Recovery

8/6/2019 Exploration Password Recovery

http://slidepdf.com/reader/full/exploration-password-recovery 6/7

ITE PC v4.0Chapter 1 6© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Step 7 - Examine the configuration the router is using.

Task: Enter the command show running-config (abbreviated: sh run).

Step 8 - Load the router configuration file.

Task: Type the command copy star tup-config running-config (abbreviated: copy

star t run).

Step 9 - Look at passwords.

Task: Enter the command show running-config (abbreviated: sh run).Explanation: Passwords that have been encrypted with the enable secretcommand show up as a series of letters, numbers and symbols. (e.g.$1$miYV$i9OOuSBQBde5fzgS3tn8T0). Non-encrypted passwords are in plain text.

Step 10 - Change passwords and save

Go into global configuration mode by entering the command configure terminal(abbreviated: config t). Enter the command enable secret newpassword  . Pressand hold the Control key and press Z to exit out of global config mode. Type thecommand show running-config (abbreviated: sh run).

copy running-config star tup-config

Password recovery

Page 7: Exploration Password Recovery

8/6/2019 Exploration Password Recovery

http://slidepdf.com/reader/full/exploration-password-recovery 7/7

ITE PC v4.0Chapter 1 7© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Step 11 - Change the configuration register.

Enter global config mode by typing the command config

terminal (abbreviated: config t). Enter the command config-register 0x2102. (Note: use the original value you recorded instep 2). Press Control Z to exit global config mode. Enter thecommand sh ver to see the new value of the configurationregister.

Step 12 - Verify new password.

Enter the command reload.

Enter  Y if prompted to save new configuration, and to proceedwith reload.

Password recovery