2-429Cisco Catalyst Blade Switch 3120 for HP Command ReferenceOL-12248-03Chapter 2 Cisco Catalyst Blade Switch 3120 for HP Cisco IOS Commandsservice password-recoveryservice password-recoveryUse the service password-recovery global configuration command on the switch stack or on a standaloneswitch to enable the password-recovery mechanism (the default). This mechanism allows an end userwith physical access to the switch to hold down the Mode button and interrupt the boot process whilethe switch is powering up and to assign a new password. Use the no form of this command to disablepart of the password-recovery functionality. When the password-recovery mechanism is disabled,interrupting the boot process is allowed only if the user agrees to set the system back to the defaultconfiguration.service password-recoveryno service password-recoverySyntax Description This command has no arguments or keywords.Defaults The password-recovery mechanism is enabled.Command Modes Global configurationCommand HistoryUsage Guidelines As a system administrator, you can use the no service password-recovery command to disable some ofthe functionality of the password recovery feature by allowing an end user to reset a password only byagreeing to return to the default configuration.To use the password-recovery procedure, a user with physical access to the switch holds down the Modebutton while the unit powers up and for a second or two after the LED above port 1X turns off. Whenthe button is released, the system continues with initialization.If the password-recovery mechanism is disabled, this message appears:The password-recovery mechanism has been triggered, butis currently disabled. Access to the boot loader promptthrough the password-recovery mechanism is disallowed atthis point. However, if you agree to let the system bereset back to the default system configuration, accessto the boot loader prompt can still be allowed.Would you like to reset the system back to the default configuration (y/n)?If the user chooses not to reset the system to the default configuration, the normal boot processcontinues, as if the Mode button had not been pressed. If you choose to reset the system to the defaultconfiguration, the configuration file in flash memory is deleted, and the VLAN database file,flash:vlan.dat (if present), is deleted.Release Modification12.2(40)EX1 This command was introduced.