195
Parameters
user-name
name
: Specifies a user by the name, a string of 1 to 80 characters.
ip
ipv4-address
: Specifies the IPv4 address of a user.
ipv6
ipv6-address
: Specifies the IPv6 address of a user.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
With no arguments provided, this command displays information about all users in the password
control blacklist.
Examples
# Display information about users in the password control blacklist.
<Sysname> display password-control blacklist
Username: test
IP: 192.168.44.1 Login failed times: 1 Lock flag: unlock
Total 1 blacklist item(s) matched. 1 listed.
Table 25 Command output
Field
Description
Username
Username of the user.
IP
IP address of the user.
Login failed times
Number of login failures.
Lock flag
Whether the user is prohibited from logging in:
•
unlock
—Not prohibited.
•
lock
—Prohibited temporarily or permanently, depending on the
password-control login-attempt
command.
password
Use
password
to set a password for a local user in interactive mode.
Use
undo password
to remove the password for a local user.
Syntax
password
undo password
Views
Local user view
Default command level
2: System level