27
Connection limit configuration commands
connection-limit apply policy
Syntax
connection-limit apply policy
policy-number
undo connection-limit apply policy
policy-number
View
System view
Default level
2: System level
Parameters
policy-number
: Number for an existing connection limit policy, which can only be 0.
Description
Use the
connection-limit apply policy
command to apply a connection limit policy.
Use the
undo connection-limit apply policy
command to remove the application.
If a connection limit policy is applied, you cannot add, remove, or modify the conneciton limit rules in the
connection limit policy view.
A conneciton limit policy to be applied must contain at least one limit rule.
Related commands:
connection-limit policy
.
Examples
# Apply connection limit policy 0.
<Sysname> system-view
[Sysname] connection-limit apply policy 0
connection-limit policy
Syntax
connection-limit policy
policy-number
undo connection-limit policy
{
policy-number
|
all
}
View
System view
Default level
2: System level
Parameters
policy-number
: Connection limit policy number, which can only be 0.
all
: Specifies all connection limit policies.