Cisco 7206VXR Installation Guide - Page 120

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

Page 120 highlights

Replacing or Recovering a Lost Password Chapter 5 Maintaining the Cisco 7206 Router# copy tftp slot0 Enter source filename: image.name 20575008 bytes available on device slot0, proceed? [confirm] address or name of remote host [tftp.server.name]? tftp.server.name loading new.image from tftp.server.name (via Ethernet1/0 OK - 7799951/15599616 bytes] CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC Router# The Flash memory card is now reformatted and ready to use. 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 7206 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 Power cycle the router by turning power off and then back on. Log in to the router and enter the privileged EXEC mode. Enter the show startup-config command to display the passwords. 5-14 Cisco 7206 Installation and Configuration Guide OL-5102-02

  • 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-14
Cisco 7206 Installation and Configuration Guide
OL-5102-02
Chapter 5
Maintaining the Cisco 7206
Replacing or Recovering a Lost Password
Router#
copy tftp slot0
Enter source filename:
image.name
20575008 bytes available on device slot0, proceed? [confirm]
address or name of remote host [tftp.server.name]?
tftp.server.name
loading new.image from tftp.server.name (via Ethernet1/0):!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 7799951/15599616 bytes]
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
Router#
The Flash memory card is now reformatted and ready to use.
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 7206 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.
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.