display password-control blacklist

Syntax

display password-control blacklist [ user-name name | ip ipv4-address | ipv6 ipv6-address ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

2: System level

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.

Description

Use display password-control blacklist to display information about users blacklisted due to authentication failure.

With no arguments provided, this command displays information about all users in the blacklist.

Examples

# Display information about users blacklisted due to authentication failure.

<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 27: 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