Disabling the clear password function of the Clear button


front-panel-security password-clear
no front-panel-security password-clear

In the factory default configuration, pressing the Clear button on the switch front panel erases any local usernames and passwords configured on the switch. This command disables the password clear function of the Clear button, so that pressing it has no effect on any local usernames and passwords.

Default: enabled.


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, as described under Restoring the factory default configuration.

This command displays a Caution message in the CLI. If you want to proceed with disabling the Clear button, type [Y]; otherwise type [N]. For example:

Disabling the Clear button and displaying the new configuration