R3166-R3206-HP High-End Firewalls Access Control Command Reference-6PW101

31
all: Specifies all connection limit policies.
Description
Use the connection-limit policy command to create a connection limit policy and enter connection limit
policy view.
Use the undo connection-limit policy command to delete a specified or all connection limit policies.
By default, no connection limit policy is created.
A connection limit policy contains a set of rules that are defined to limit 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 }
View
Any view
Default level
1: Monitor level
Parameters
policy-number: Connection limit policy number, which can only be 0.
all: Displays all connection limit policies.
Description
Use the display connection-limit policy command to display information about a specific or all
connection-limit policies.
Related commands: limit.
Examples
# Display information about all connection limit policies.
<Sysname> display connection-limit policy all
There is 1 policy:
Connection-limit policy 0, refcount 0 ,3 limits
limit 1 acl 2000 per-source amount 1111 10
limit 2 acl 2001 per-destination amount 300 20
limit 3 acl 2002 per-service amount 400 50
# Display information about all connection limit policies.
<Sysname> display connection-limit policy all