To enable password-clear with reset-on-clear also enabled


front-panel-security password-clear reset-on-clear

Either form of the command enables password-clear.

For redundant management systems, this command only affects the active management module.

NOTE:

If you disable password-clear and also disable the password-recovery option, you can still recover from a lost password by using the Reset+Clear button combination at reboot. Although the Clear button does not erase passwords when disabled, you can still use it with the Reset button (Reset+Clear) to restore the switch to its factory default configuration. You can then get access to the switch to set a new password.

Example

Suppose password-clear is disabled and you want to restore it to its default configuration (enabled, with reset-on-clear disabled).

Re-enabling the Clear button's default operation