Step 1
| Attach an
ASCII terminal to the console port on your Cisco CMTS.
|
Step 2
| Configure the
terminal to operate at 9600 baud, 8 data bits, no parity, and 1 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 later use. If you cannot log in to the router at all, continue with 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 (rommon
n>), where n is the number of the command line. Proceed to configuring the
register.
- If Break is disabled, power
cycle the router (turn the router off or unplug the power cord, and then
restore power). 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 (rommon 1>).
|
Step 5
| To set the
configuration register on a Cisco CMTS, use the configuration register utility
by entering the
confreg
command at the ROM monitor prompt as follows:
rommon 1> confreg
Answer
yes to the
enable
ignore system config info? prompt and note the current configuration
register settings.
|
Step 6
| Initialize the
router by entering the
reset command
as follows:
rommon 2> reset
The router
initializes, the configuration register is set to 0x142, the router boots the
system image from Flash memory and enters the System Configuration dialog
(setup), as follows:
--- System Configuration Dialog --
|
Step 7
| Enter
no in response to the System Configuration dialog
prompts until the following message appears:
Press RETURN to get started!
|
Step 8
| Press
Return. The user EXEC prompt appears as follows:
Router>
|
Step 9
| Enter the
enable
command to enter privileged EXEC mode.
|
Step 10
| Enter the
show
startup-config command to display the passwords in the
configuration file as follows:
Router# show startup-config
|
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
Note
| The enable
secret password is encrypted and cannot be recovered; it must be replaced. The
enable and console passwords can be encrypted text 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 set the configuration register to the
original value.
Caution
| Do not perform the next step unless you have determined that you
must change or replace the enable, enable secret, or console login passwords.
Failure to follow the steps as presented here could cause your router
configuration to be erased.
|
|
Step 12
| (Optional)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
configure
terminal command for configuration mode:
Router# configure terminal
|
Step 14
| To change all
three passwords, enter the following commands:
Router(config)# enable secret newpassword1
Router(config)# enable password newpassword2
Router(config)# line con 0
Router(config)# password newpassword3
Change only
the passwords necessary for your configuration. You can remove individual
passwords by using the
no form of
the previous commands. For example, entering the
no enable
secret command removes the enable secret password.
|
Step 15
| You must
configure all interfaces to not be administratively shut down as follows:
Router(config)# interface gigabitethernet 0
Router(config)# no shutdown
Enter the
equivalent commands for all interfaces that were originally configured. If you
omit this step, all interfaces are administratively shut down and unavailable
when the router is restarted.
|
Step 16
| Use
the
config-register command to set the configuration register to the
original value noted earlier.
|
Step 17
| Press
Ctrl-Z or type
end to exit
configuration mode:
Router(config)# end
Caution
| Do not perform the next step unless you have changed or
replaced a password. If you skipped changing or replacing the enable, enable
secret, or console login passwords previously, then proceed now to reload.
Failure to observe this sequence causes the system to erase your router
configuration file.
|
|
Step 18
| Enter the
copy running-config
startup-config command to save the new configuration to
nonvolatile memory:
Router# copy running-config startup-config
|
Step 19
| Enter the
reload
command to reboot the router:
Router# reload
|
Step 20
| Log in to
the router with the new or recovered passwords.
|