28
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 specific or all connection limit policies.
A connection limit policy contains a set of rules that limit the number of connections of a specific user. By
default, a connection limit policy uses the default connection limit settings.
When creating a connection limit policy, you must assign it a unique number. Polices are matched by
number in descending order.
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
There are 1 policies: