TL-SL3428 JetStream L2 Managed Switch CLI Guide
 
 
138
{smask source-ip-mask}] [[dip destination-ip] {dmask destination-ip-mask}] 
[tseg time-segment] [index idx] 
Parameter 
acl-id  āā  The desired Standard-IP ACL for configuration. 
rule-id  āā  The rule ID. 
op  āā  The operation for the switch to process packets which match the rules. 
There are two options, discard and permit. Discard means discarding packets, 
and permit means forwarding packets. By default, the option is permit. 
source-ip  āā  The source IP address contained in the rule. 
source-ip-mask  āā The source IP address mask. It is required if you typed 
the source IP address. 
destination-ip  āā  The destination IP address contained in the rule. 
destination-ip-mask  āā  The destination IP address mask. It is required if you 
typed the destination IP address. 
time-segment  āā  The time-range for the rule to take effect. By default, it is 
not limited. 
index  āā  Change the index number of the entry. 
Command Mode 
Global Configuration Mode 
Example 
Edit Rule 10 for the Standard-IP ACL whose ID is 120. In the rule, the source IP 
address is 192.168.0.100, the source IP address mask is 255.255.255.0, the 
time-range for the rule to take effect is tSeg1, and the packets match this rule 
will be forwarded by the switch: 
TP-LINK(config)# acl edit rule std-acl 120 10 op permit dip 192.168.0.100 
dmask 255.255.255.0 tseg tSeg1 
acl policy policy-add 
Description 
The  acl policy policy-add command is used to add Policy. To delete the 
corresponding Policy, please use no acl policy policy-add command. A Policy 
is used to control the data packets matching the corresponding ACL rules by 
configuring ACLs and actions together for effect. The operations here include 
stream mirror, stream condition and redirect.