Information Technology Reference
In-Depth Information
The following example removes the password from virtual terminal lines 1 to 4:
line vty 1 4
no password
Step 14
If you lost the enable password, locate the enable-password global configuration command entry in the
configuration, and record the password.
If you lost the login password, find the configuration entries for the console line, and record the password
indicated by the password line configuration command.
Step 15
Use the copy running-config startup-config or write memory privileged exec command to write the
configuration into NVRAM.
Issuing the copy running-config startup-config or write memory command at this point
on a Cisco 2500, Cisco 3000, or Cisco 4000 will overwrite the configuration. Make certain
that you have a backup of your configuration file.
Note
The router is now fully functional, and you can use your recovered or reconfigured passwords as usual.
Restore the software configuration register to its original value as soon as possible. If it is
not returned to the value that you noted in Step 3, the router will always ignore the contents
of NVRAM and will enter the Setup routine upon booting. Continue with Step 17 to return
the software configuration register to its original value.
Note
In privileged exec mode, enter router configuration mode using the configure terminal privileged exec
command.
Step 16
Change the software configuration register to its original value by using the config-register global
configuration command. You must enter 0x and then the software configuration register value that you
recorded in Step 3. Using the sample value 2102, the command would be config-register 0x2102 .
Syntax:
The following is the syntax for config-register command:
config-register value
Syntax description:
Step 17
value —Hexadecimal or decimal value that represents the 16-bit configuration register value that you
want to use the next time the router is restarted. The value range is from 0x0 to 0xFFFF (0 to 65535,
in decimal).
•
Exit router configuration mode by entering ^Z .
The next time the router is power-cycled or restarted with the reload privileged exec command, the
bootup process will proceed as normal. Use your new or recovered password to gain access to the router
after it reboots.
Step 18
Password-Recovery Procedure: Platforms Running Recent Software Releases
The Cisco CGS, MGS, AGS, and AGS+ platforms, and the Cisco 7000 series routers running software
prior to Cisco IOS Release 10.0 from ROM all have their configuration registers in hardware, so you
must physically change the position of the configuration register jumper during the password-recovery
process.
Search WWH ::




Custom Search