TP-Link TL-SG5412F Switch User Manual


 
144
Parameter
name —— The Policy Name, ranging from 1 to 16 characters.
Command Mode
Global Configuration Mode
Example
Add a Policy named policy1:
TP-LINK(config)# acl policy policy-add policy1
acl policy action-add
Description
The acl policy action-add command is used to add ACLs and create actions
for the policy. To delete the corresponding actions, please use no acl policy
action-add command.
Syntax
acl policy action-add {policy-name} {acl-id} [rate rate] [osd {none | discard}]
[e-port egress-port] [mirr mirror]
no acl policy action-add {policy-name} {acl-id}
Parameter
policy-name —— The Policy Name, ranging from 1 to 16 characters.
acl-id —— The ACL for configuration in the policy.
rate —— The rate of Stream Condition, ranging from 1 to 1000000 in kbps.
osd —— Out of Band disposal of Stream Condition. It is the disposal way of the
data packets those are transmitted beyond the rate. There are two options,
none and discard. By default, the option is none.
egress-port —— The Destination Port of Redirect. The data packets matching
the corresponding ACL will be forwarded to the specific port. By default, it is All
Ports.
mirror —— The Mirror Port of Stream Mirror. By default, it is 1.
Command Mode
Global Configuration Mode
Example
Create a Policy named policy1. For the data packets matching ACL 120 in the
policy, if the rate beyond 1000kbps, will be discarded by the switch: