R3303-HP HSR6800 Routers Security Command Reference

417
Default command level
2: System level
Parameters
policy-number: Specifies the number of a connection limit policy. The value is 0.
Usage guidelines
A connection limit policy contains a set of rules for limiting the number of connections of a specific user.
A policy number uniquely identifies a connection limit policy.
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
Use display connection-limit policy to display information about a specific or all connection limit policies.
Syntax
display connection-limit policy { policy-number | all } [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
policy-number: Specifies the connection limit policy number. The value is 0.
all: Displays all connection limit policies.
|: 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.
Examples
# Display information about all connection limit policies.
<Sysname> display connection-limit policy all
There are 1 policy:
Connection-limit policy 0, refcount 0, 1 limit