Example
Edit the actions for the policy1. For the data packets those match ACL 120 in the
policy, if the rate beyond 1000kbps, will be discarded by the switch:
TP-LINK(config)# acl edit action policy1 120 rate 1000 osd discard
acl bind to-port
Description
The acl bind to-port command is used to bind a policy to a port. To cancel the
bind relation, please use no acl bind to-port command.
Syntax
acl bind to-port {policy-name} {port}
no acl bind to-port {policy-name} {port}
Parameter
policy-name —— The name of the policy desired to bind.
port —— The number of the port desired to bind, ranging from 1 to 28.
Command Mode
Global Configuration Mode
Example
Bind policy1 to Port 1:
TP-LINK(config)# acl bind to-port policy1 1
acl bind to-vlan
Description
The acl bind to-vlan command is used to bind a policy to a VLAN. To cancel
the bind relation, please use no policy to-vlan command.
Syntax
acl bind to-vlan {policy-name} {vlan-id}
no policy to-vlan {policy-name} {vlan-id}
Parameter
policy-name —— The name of the policy desired to bind.
vlan-id —— The ID of the VLAN desired to bind, ranging from 1 to 4094.
Command Mode
TL-SL3428
JetStream L2 Managed Switch CLI Guide
141