556
Related commands
blacklist ipv6
display blacklist user
Use
display blacklist user
to display user blacklist entries.
Syntax
display blacklist user
[
user-name
] [
count
]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
user-name
: Specifies a user by the username, a case-sensitive string of 1 to 55 characters. If you do
not specify a user, this command displays all user blacklist entries.
count
: Displays the number of matching user blacklist entries.
Examples
# Display all user blacklist entries.
<Sysname> display blacklist user
Username Type TTL(sec) Dropped
Alex Manual 10 353452
Bob Manual 123 4294967295
Cary Manual Never 14478
# Display the number of user blacklist entries.
<Sysname> display blacklist user count
Totally 3 blacklist entries.
# Display the user blacklist entry for user
Alex
.
<Sysname> display blacklist user Alex
Username Type TTL(sec) Dropped
Alex Manual 10 353452
Table 87 Command output
Field
Description
Username
Username in the user blacklist entry.
Type
Type of the user blacklist entry. Only the manual mode is supported.
TTL(sec)
Remaining aging time of the user blacklist entry, in seconds. If no aging
time is set for the entry, this field displays
Never
.
Dropped
Number of dropped packets sourced from the user.
Totally 3 blacklist entries
Total number of user blacklist entries.