< Home

ap password policy

Function

The ap password policy command enables the AP login password policy function and displays the AP password policy view.

The undo ap password policy command disables the AP login password policy function.

By default, the AP login password policy function is disabled.

Format

ap password policy

undo ap password policy

Parameters

None

Views

WLAN view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

After a password is configured using the ap username command, the minimum length and complexity of the password are limited. If you want to improve password security, you can run the following commands to configure a password policy for the local administrator:

  • Run the password expire command to set the password expiration time.
  • Run the password alert before-expire command to set the password expiration prompt days.
  • Run the password alert original command to enable the device to prompt users to change initial passwords.
  • Run the password history record number command to set the maximum number of historical passwords recorded for each user.

Precautions

Running the undo ap password policy command invalidates the password policy, posing security risks.

Example

# Enable the AP login password policy function and display the AP password policy view.

<HUAWEI> system-view
[HUAWEI] wlan 
[HUAWEI-wlan-view] ap password policy
[HUAWEI-wlan-ap-pwd-policy] 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >