202
To do… Use the command…
Remarks
Set the password aging time for
super passwords
password-control super aging
aging-time
Optional
By default, the super password
aging time is the same as the
global password aging time.
Configure the minimum length for
super passwords
password-control super length
length
Optional
By default, the minimum super
password length is the same as the
global minimum password length.
Configure the password
composition policy for super
passwords
password-control super
composition type-number
type-number [ type-length
type-length ]
Optional
By default, the super password
composition policy is the same as
the global password composition
policy.
Setting a local user password in interactive mode
You can set a password for a local user in interactive mode. When doing so, you need to confirm the
password.
Follow these steps to set a password for a local user in interactive mode:
To do... Use the command…
Remarks
Enter system view system-view —
Create a local user and enter local
user view
local-user user-name —
Set the password for the local user
in interactive mode
password Required
Displaying and maintaining password control
To do… Use the command…
Remarks
Display password control
configuration information
display password-control [ super ]
[ | { begin | exclude | include }
regular-expression ]
Available in any view
Display information about users
blacklisted due to authentication
failure
display password-control blacklist
[ user-name name | ip
ipv4-address | ipv6 ipv6-address ]
[ | { begin | exclude | include }
regular-expression ]
Available in any view
Delete users from the blacklist
reset password-control blacklist
[ all | user-name name ]
Available in user view
Clear history password records
reset password-control
history-record [ user-name name |
super [ level level ] ]
Available in user view