Cisco 7206VXR Configuration Guide - Page 157

Replacing or Recovering a Lost Password, Overview of the Password Recovery Procedure

Page 157 highlights

Chapter 4 Observing System Startup and Performing a Basic Configuration Replacing or Recovering a Lost Password Replacing or Recovering a Lost Password This section describes how to recover a lost enable or console login password, and how to replace a lost enable secret password on your Cisco 7200 VXR router. Note It is possible to recover the enable or console login password. The enable secret password is encrypted, however, and must be replaced with a new enable secret password. Overview of the Password Recovery Procedure Following is an overview of the steps in the password recovery procedure: Step 1 Step 2 Step 3 If you can log in to the router, enter the show version command to determine the existing configuration register value. Press the Break key to get to the bootstrap program prompt (ROM monitor). You might need to reload the system image by power cycling the router. Change the configuration register so the following functions are enabled: a. Break b. Ignore startup configuration c. Boot from Flash memory Note The key to recovering a lost password is to set the configuration register bit 6 (0x0040) so that the startup configuration (usually in NVRAM) is ignored. This allows you to log in without using a password and to display the startup configuration passwords. Step 4 Step 5 Step 6 Step 7 Step 8 Power cycle the router by turning power off and then back on. However, after powering off the router, wait at least 30 seconds before powering it on again. Log in to the router and enter the privileged EXEC mode. Enter the show startup-config command to display the passwords. Recover or replace the displayed passwords. 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. OL-5013-09 Cisco 7200 VXR Installation and Configuration Guide 4-17

  • 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
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188

4-17
Cisco 7200 VXR Installation and Configuration Guide
OL-5013-09
Chapter 4
Observing System Startup and Performing a Basic Configuration
Replacing or Recovering a Lost Password
Replacing or Recovering a Lost Password
This section describes how to recover a lost enable or console login password, and how to replace a lost
enable secret password on your Cisco 7200 VXR router.
Note
It is possible to recover the enable or console login password. The enable secret password is encrypted,
however, and must be replaced with a new enable secret password.
Overview of the Password Recovery Procedure
Following is an overview of the steps in the password recovery procedure:
Step 1
If you can log in to the router, enter the
show version
command to determine the existing configuration
register value.
Step 2
Press the
Break
key to get to the bootstrap program prompt (ROM monitor). You might need to reload
the system image by power cycling the router.
Step 3
Change the configuration register so the following functions are enabled:
a.
Break
b.
Ignore startup configuration
c.
Boot from Flash memory
Note
The key to recovering a lost password is to set the configuration register bit 6 (0x0040) so that
the startup configuration (usually in NVRAM) is ignored. This allows you to log in without
using a password and to display the startup configuration passwords.
Step 4
Power cycle the router by turning power off and then back on. However, after powering off the router,
wait at least 30 seconds before powering it on again.
Step 5
Log in to the router and enter the privileged EXEC mode.
Step 6
Enter the
show startup-config
command to display the passwords.
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.