password-control enable

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

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

Syntax

password-control enable

undo password-control enable

Default

In non-FIPS mode:

The password control feature is disabled globally.

In FIPS mode:

The password control feature is enabled globally and cannot be disabled.

Views

System view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

A specific password control feature takes effect only after the global password control feature is enabled.

After the global password control feature is enabled, you cannot display the password and super password configurations for device management users by using the corresponding display commands. The configuration for network access user passwords can be displayed. The first password configured for device management users must contain a minimum of four different characters.

Examples

# Enable the password control feature globally.

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

Related commands

display password-control

password-control { aging | composition | history | length } enable