Cisco 7206VXR Installation Guide - Page 121

Details of the Password Recovery Procedure

Page 121 highlights

Chapter 5 Maintaining the Cisco 7206 Replacing or Recovering a Lost Password Step 7 Recover or replace the displayed passwords. Step 8 Change the configuration register back to its original setting. Note To recover a lost password if the Break function is disabled on the router, you must have physical access to the router. Details of the Password Recovery Procedure Complete the following steps to recover or replace a lost enable, enable secret, or console login password: Step 1 Step 2 Step 3 Step 4 Step 5 Step 6 Step 7 Attach an ASCII terminal to the console port on your Cisco 7206. Configure the terminal to operate at 9600 baud, 8 data bits, no parity, and 2 stop bits. If you can log in to the router as a nonprivileged user, enter the show version command to display the existing configuration register value. Note the value for use later and proceed to Step 6. If you cannot log in to the router at all, go to the next step. Press the Break key or send a Break from the console terminal. If Break is enabled, the router enters the ROM monitor, indicated by the ROM monitor prompt (rommon1>). Proceed to Step 6. If Break is disabled, power cycle the router (turn the router off or unplug the power cord, and then restore power). Then proceed to Step 5. Within 60 seconds of restoring the power to the router, press the Break key or send a Break. This action causes the router to enter the ROM monitor and display the ROM monitor prompt (rommon1>). Set the configuration register using the configuration register utility; enter the confreg command at the ROM monitor prompt as follows: rommon1> confreg Answer yes to the enable "ignore system config info?" question and note the current configuration register settings. Initialize the router by entering the reset command as follows: rommon2> reset The router initializes the configuration register that is set to 0x142, and the router boots the system image from Flash memory and enters the system configuration dialog (setup) as follows: --- System Configuration Dialog -- Step 8 Enter no in response to the system configuration dialog prompts until the following message is displayed: Press RETURN to get started! Step 9 Press Return. The user EXEC prompt is displayed as follows: Router> Step 10 Enter the enable command to enter privileged EXEC mode. Then enter the show startup-config command to display the passwords in the configuration file as follows: Router# show startup-config OL-5102-02 Cisco 7206 Installation and Configuration Guide 5-15

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150

5-15
Cisco 7206 Installation and Configuration Guide
OL-5102-02
Chapter 5
Maintaining the Cisco 7206
Replacing or Recovering a Lost Password
Step 7
Recover or replace the displayed passwords.
Step 8
Change the configuration register back to its original setting.
Note
To recover a lost password if the Break function is disabled on the router, you must have physical access
to the router.
Details of the Password Recovery Procedure
Complete the following steps to recover or replace a lost enable, enable secret, or console login
password:
Step 1
Attach an ASCII terminal to the console port on your Cisco 7206.
Step 2
Configure the terminal to operate at 9600 baud, 8 data bits, no parity, and 2 stop bits.
Step 3
If you can log in to the router as a nonprivileged user, enter the
show version
command to display the
existing configuration register value. Note the value for use later and proceed to
Step 6
. If you cannot
log in to the router at all, go to the next step.
Step 4
Press the
Break
key or send a Break from the console terminal. If Break is enabled, the router enters the
ROM monitor, indicated by the ROM monitor prompt (
rommon1>
). Proceed to Step
6. If Break is disabled,
power cycle the router (turn the router off or unplug the power cord, and then restore power). Then
proceed to Step 5.
Step 5
Within 60 seconds of restoring the power to the router, press the
Break
key or send a Break. This action
causes the router to enter the ROM monitor and display the ROM monitor prompt (
rommon1>
).
Step 6
Set the configuration register using the configuration register utility; enter the
confreg
command at the
ROM monitor prompt as follows:
rommon1>
confreg
Answer
yes
to the enable “ignore system config info?” question and note the current configuration
register settings.
Step 7
Initialize the router by entering the
reset
command as follows:
rommon2>
reset
The router initializes the configuration register that is set to 0x142, and the router boots the system image
from Flash memory and enters the system configuration dialog (setup) as follows:
--- System Configuration Dialog --
Step 8
Enter
no
in response to the system configuration dialog prompts until the following message is
displayed:
Press RETURN to get started!
Step 9
Press
Return.
The user EXEC prompt is displayed as follows:
Router>
Step 10
Enter the
enable
command to enter privileged EXEC mode. Then enter the
show startup-config
command to display the passwords in the configuration file as follows:
Router#
show startup-config