R3721-F3210-F3171-HP High-End Firewalls Access Control Command Reference-6PW101

42
all: Specifies all connection limit policies.
Description
Use connection-limit policy to create a connection limit policy and enter connection limit policy view.
Use undo connection-limit policy to delete a specified or all connection limit policies.
A connection limit policy contains a set of rules for limiting the number of connections of a specified user.
After applying a connection limit policy in system view, you cannot modify, add, or remove connection
limit rules in the policy.
Examples
# Create a connection limit policy numbered 0 and enter its view.
<Sysname> system-view
[Sysname] connection-limit policy 0
[Sysname-connection-limit-policy-0]
display connection-limit policy
Syntax
display connection-limit policy { policy-number | all } [ | { begin | exclude | include }
regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
policy-number: Connection limit policy number. The value can only be 0.
all: Displays all connection limit policies.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Getting Started 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 connection-limit policy to display information about a specific or all connection limit policies.
Related commands: limit.
Examples
# Display information about the connection limit policy.
<Sysname> display connection-limit policy all
There is 1 policy:
Connection-limit policy 0, refcount 1, 1 limit
limit 1 source ip 1.1.1.1 32 destination ip any protocol tcp max-connections 2
00