The password alert before-expire command sets the password expiration prompt days.
The undo password alert before-expire command restores the default password expiration prompt days.
By default, the number of password expiration prompt days is 30 days.
Parameter | Description | Value |
---|---|---|
days | Indicates how long the system displays a prompt before the password expires. If the value is set to 0, the device does not prompt users that the passwords will expire. |
The value is an integer that ranges from 0 to 999, in days. The default value is 30. |
When a user logs in to the device, the device checks whether the validity period of the user's password is within the prompt days set by using this command. If so, the device prompts the user how long the password will expire and asks the user whether to change the password.