199
•
user-group
password-control alert-before-expire
Use
password-control alert-before-expire
to set the number of days before a user's password
expires during which the user is notified of the pending password expiration.
Use
undo password-control alert-before-expire
to restore the default.
Syntax
password-control alert-before-expire
alert-time
undo password-control alert-before-expire
Default
A user is notified of pending password expiration 7 days before the user's password expires.
Views
System view
Default command level
2: System level
Parameters
alert-time
: Specifies the number of days before a user's password expires during which the user is
notified of the pending password expiration. The value range is 1 to 30.
Examples
# Configure the device to notify a user about pending password expiration 10 days before the user's
password expires.
<Sysname> system-view
[Sysname] password-control alert-before-expire 10
password-control authentication-timeout
Use
password-control authentication-timeout
to set the user authentication timeout time.
Use
undo password-control authentication-timeout
to restore the default.
Syntax
password-control authentication-timeout
authentication-timeout
undo password-control authentication-timeout
Default
The user authentication timeout time is 60 seconds.
Views
System view
Default command level
2: System level
Parameters
authentication-timeout
: Specifies the user authentication timeout time in seconds. The value range is
30 to 120.