password-control enable

Syntax

password-control enable

undo password-control enable

View

System view

Default level

2: System level

Parameters

None

Description

Use password-control enable to enable the global password control feature.

Use undo password-control enable to disable the global password control feature.

By default, the global password control feature is disabled.

Password control functions can take effect only after the global password control feature is enabled.

Disabling global password control (by using the undo password-control enable command) does not clear the history password records. To clear existing history password records, execute the reset password-control history-record command.

Related commands: display password-control.

Examples

# Enable the password control feature globally.

<Sysname> system-view
[Sysname] password-control enable