No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S12700 V200R013C00 Command Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
password expire (AP password policy view)

password expire (AP password policy view)

Function

The password expire command sets the password validity period.

The undo password expire command restores the default password validity period.

By default, the password validity period is 90 days.

Format

password expire days

undo password expire

Parameters

Parameter Description Value
days

Indicates the password validity period.

If the value is 0, the password is permanently valid.

The value is an integer that ranges from 0 to 999, in days. The default value is 90.

Views

AP password policy view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To improve password security, the administrator can use this command to set the validity period for local user's password. When the validity period expires, the password becomes invalid.

If the local user still uses this password to log in to the device, the device allows the user to log in, prompts the user that the password has expired, and asks the user whether to change the password:
  • If the user selects Y to change the password, the user needs to enter the old password, new password, and confirm password. The password can be successfully changed only when the old password is correct and the new password and confirm password are the same and meet requirements (password length and complexity). After the password is changed, the user can log in to the device successfully.
  • If the user selects N or fails to change the password, the user cannot log in.

Precautions

Changing the system time will affect the password validity status.

After this command is executed, the device checks whether the password expires every one minute; therefore, there may be a time difference within one minute.

Example

# Set the password validity period to 120 days.

<HUAWEI> system-view
[HUAWEI] wlan 
[HUAWEI-wlan-view] ap password policy
[HUAWEI-wlan-ap-pwd-policy] password expire 120
Related Topics
Translation
Download
Updated: 2019-04-09

Document ID: EDOC1100065659

Views: 126029

Downloads: 88

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next