Cisco 7206 Installation Guide - Page 122

Step 11, Caution, Cisco 7206 Installation and Configuration Guide, OL-5102-02,

Page 122 highlights

Replacing or Recovering a Lost Password Chapter 5 Maintaining the Cisco 7206 Step 11 Scan the configuration file display looking for the passwords (the enable passwords are usually near the beginning of the file, and the console login or user EXEC password is near the end). The passwords displayed will look something like this: enable secret 5 $1$ORPP$s9syZt4uKn3SnpuLDrhuei enable password 23skiddoo . . line con 0 password onramp The enable secret password is encrypted and cannot be recovered; it must be replaced. The enable and console login passwords may be encrypted or clear text. Proceed to the next step to replace an enable secret, console login, or enable password. If there is no enable secret password, note the enable and console login passwords, if they are not encrypted, and proceed to Step 16. Caution Do not execute the next step unless you have determined you must change or replace the enable, enable secret, or console login passwords. Failure to follow the steps as shown may cause you to erase your router configuration. Step 12 Enter the configure memory command to load the startup configuration file into running memory. This action allows you to modify or replace passwords in the configuration. Router# configure memory Step 13 Enter the privileged EXEC command configure terminal to enter configuration mode: Hostname# configure terminal Step 14 Change all three passwords using the following commands: Hostname(config)# enable secret newpassword1 Hostname(config)# enable password newpassword2 Hostname(config)# line con 0 Hostname(config-line)# password newpassword3 Step 15 Change only the passwords necessary for your configuration. You can remove individual passwords by using the no form of the above commands. For example, entering the no enable secret command removes the enable secret password. You must configure all interfaces to be not administratively shut down as follows: Hostname(config)# interface fastethernet 0/0 Hostname(config-int)# no shutdown Step 16 Enter the equivalent commands for all interfaces that were originally configured. If you omit this step, all interfaces will be administratively shut down and unavailable when the router is restarted. Use the config-register command to set the configuration register to the original value noted in Step 3 or Step 7, or to the factory default value 0x2102 as follows: Hostname(config)# config-register 0x2102 Step 17 Press Ctrl-Z (hold down the Control key while you press Z) or enter end to exit configuration mode and return to the EXEC command interpreter. 5-16 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-16
Cisco 7206 Installation and Configuration Guide
OL-5102-02
Chapter 5
Maintaining the Cisco 7206
Replacing or Recovering a Lost Password
Step 11
Scan the configuration file display looking for the passwords (the enable passwords are usually near the
beginning of the file, and the console login or user EXEC password is near the end). The passwords
displayed will look something like this:
enable secret 5 $1$ORPP$s9syZt4uKn3SnpuLDrhuei
enable password 23skiddoo
.
.
line con 0
password onramp
The enable secret password is encrypted and cannot be recovered; it must be replaced. The enable and
console login passwords may be encrypted or clear text. Proceed to the next step to replace an enable
secret, console login, or enable password. If there is no enable secret password, note the enable and
console login passwords, if they are not encrypted, and proceed to
Step 16
.
Caution
Do not
execute the next step unless you have determined you must change or replace the enable, enable
secret, or console login passwords. Failure to follow the steps as shown may cause you to erase your
router configuration.
Step 12
Enter the
configure memory
command to load the startup configuration file into running memory. This
action allows you to modify or replace passwords in the configuration.
Router#
configure memory
Step 13
Enter the privileged EXEC command
configure terminal
to enter configuration mode:
Hostname#
configure terminal
Step 14
Change all three passwords using the following commands:
Hostname(config)#
enable secret
newpassword1
Hostname(config)#
enable password
newpassword2
Hostname(config)#
line con 0
Hostname(config-line)#
password
newpassword3
Change only the passwords necessary for your configuration. You can remove individual passwords by
using the
no
form of the above commands. For example, entering the
no enable secret
command
removes the enable secret password.
Step 15
You must configure all interfaces to be
not
administratively shut down as follows:
Hostname(config)#
interface fastethernet 0/0
Hostname(config-int)#
no shutdown
Enter the equivalent commands for all interfaces that were originally configured. If you omit this step,
all interfaces will be administratively shut down and unavailable when the router is restarted.
Step 16
Use the
config-registe
r command to set the configuration register to the original value noted in Step 3
or Step 7, or to the factory default value 0x2102 as follows:
Hostname(config)#
config-register 0x2102
Step 17
Press
Ctrl-Z
(hold down the
Control
key while you press
Z
) or enter
end
to exit configuration mode
and return to the EXEC command interpreter.