Display Blacklist - HP 3600 v2 Series Command Reference Manual

Hide thumbs Also See for 3600 v2 Series:
Table of Contents

Advertisement

all: Specifies all blacklist entries.
timeout minutes: Specifies the aging time for the entry in minutes, in the range of 1 to 1000. If you do not
specify this option, the entry does not age and is always effective, unless you manually remove it.
Description
Use the blacklist ip command to add a blacklist entry. Then, the blacklist feature filters all packets from
the IP address before the entry is aged out or manually removed.
Use the undo blacklist command to remove all blacklist entries in one operation, remove a single blacklist
entry, or cancel the aging time setting of a blacklist entry.
The undo blacklist ip source-ip-address timeout command does not remove the entry; it only cancels the
aging time setting of the entry, making the entry never aging out.
Blacklist entries are effective only when the blacklist feature is enabled.
You can change the aging time of an existing blacklist entry, and your change takes effect immediately.
Related commands: blacklist enable and display blacklist.
Examples
# Add the IP address 192.168.1.2 to the blacklist, and set the aging time to 20 minutes.
<Sysname> system-view
[Sysname] blacklist ip 192.168.1.2 timeout 20

display blacklist

Syntax
display blacklist { all | ip source-ip-address [ slot slot-number ] | slot slot-number } [ | { begin | exclude
| include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
ip source-ip-address: Displays information about the blacklist entry for an IP address. The
source-ip-address argument cannot be the broadcast address, 127.0.0.0/8, a class D address, or a class
E address.
all: Displays information about all blacklist entries.
slot slot-number: Displays information about the blacklist entries on an IRF member device. The
slot-number argument represents the ID of the IRF member switch. The value range for the argument
depends on the number of member switches and their member IDs in the IRF fabric.
|: 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.
330

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents