Like

My Great Web page

Monday, October 18, 2010

Enabling No Service Password-Recovery

Enabling No Service Password-Recovery

Perform this task to enable the No Service Password-Recovery feature.


Note: As a precaution, a valid Cisco IOS image should reside in flash memory before this feature is enabled.


If you plan to enter the no service password-recovery command, we recommend that you save a copy of the system configuration file in a location away from the switch or router. If you are using a switch that is operating in VTP transparent mode, we recommend that you also save a copy of the vlan.dat file in a location away from the switch.

Prerequisites

Always disable the feature before downgrading to an image that does not support this feature, because you cannot reset after the downgrade.
The configuration register boot bit must be enabled so that there is no way to break into ROMMON when this command is configured. Cisco IOS software should prevent the user from configuring the boot field in the config register.
Bit 6, which ignores the startup configuration and bit 8, which enables a break, should be set.
The Break key should be disabled while the router is booting up and disabled in Cisco IOS software when this feature is enabled.

DETAILED STEPS

Command or ActionPurpose
Step 1 enable
Example:
Router> enable
Enables privileged EXEC mode.
Step 2 show version
Example:
Router# show version
Displays information about the system software, including configuration register settings. The configuration register must be set to autoboot before entering the no service password-recovery command.
Step 3 configure terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 4 config-registervalue
Example:
Router(config)# config-register 0x2012
(Optional) Changes the configuration register setting.
Step 5 no service password-recovery
Example:
Router(config)# no service password-recovery
Disables password-recovery capability at the system console.
Step 6 exit
Example:
Router(config)# exit
Exits global configuration mode and returns to EXEC mode.


Recovering a Device

To recover a device once the No Service Password-Recovery feature has been enabled, press the Break key within 5 seconds after the image decompresses during the boot. You are prompted to confirm the Break key action. When you confirm the action, the startup configuration is erased, the password-recovery procedure is enabled, and the router boots with the factory default configuration.
If you do not confirm the Break key action, the router boots normally with the No Service Password-Recovery feature enabled.

For more info just click here....Hey Click on MEEEEE