CLI Guide - TP-Link
CLI Guide - TP-Link
CLI Guide - TP-Link
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
TL-SL3428/TL-SL3452 JetStream L2 Managed Switch <strong>CLI</strong> <strong>Guide</strong><br />
Syntax<br />
acl policy policy-add name<br />
no acl policy policy-add name<br />
Parameter<br />
name —— The Policy Name, ranging from 1 to 16 characters.<br />
Command Mode<br />
Global Configuration Mode<br />
Example<br />
Add a Policy named policy1:<br />
<strong>TP</strong>-LINK(config)# acl policy policy-add policy1<br />
acl policy action-add<br />
Description<br />
The acl policy action-add command is used to add ACLs and create actions<br />
for the policy. To delete the corresponding actions, please use no acl policy<br />
action-add command.<br />
Syntax<br />
acl policy action-add {policy-name} {acl-id} [rate rate] [osd {none | discard}]<br />
[e-port egress-port] [vid vlan-id] [mirr mirror]<br />
no acl policy action-add {policy-name} {acl-id}<br />
Parameter<br />
policy-name —— The Policy Name, ranging from 1 to 16 characters.<br />
acl-id —— The ACL for configuration in the policy.<br />
rate —— The rate of Stream Condition, ranging from 1 to 1000000 in kbps.<br />
osd —— Out of Band disposal of Stream Condition. It is the disposal way of the<br />
data packets those are transmitted beyond the rate. There are two options,<br />
none and discard. By default, the option is none.<br />
egress-port —— The Destination Port of Redirect. The data packets those<br />
match the corresponding ACL will be forwarded to the specific port. By default, it<br />
is All Ports.<br />
vlan-id —— The VLAN ID of Redirect. The data packets those match the<br />
corresponding ACL will be forwarded in the specific VLAN. The VLAN ID ranges<br />
from 1 to 4094.<br />
142