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 />
source-ip-mask}] [[dip destination-ip] {dmask destination-ip-mask}] [tseg<br />
time-segment]<br />
no acl rule std-acl {acl-id} {rule-id}<br />
Parameter<br />
acl-id —— The desired Standard-IP ACL for configuration.<br />
rule-id —— The rule ID.<br />
op —— The operation for the switch to process packets which match the rules.<br />
There are two options, discard and permit. Discard means discarding packets,<br />
and permit means forwarding packets. By default, the option is permit.<br />
source-ip —— The source IP address contained in the rule.<br />
source-ip-mask —— The source IP address mask. It is required if you typed<br />
the source IP address.<br />
destination-ip —— The destination IP address contained in the rule.<br />
destination-ip-mask —— The destination IP address mask. It is required if you<br />
typed the destination IP address.<br />
time-segment —— The time-range for the rule to take effect. By default, it is<br />
not limited.<br />
Command Mode<br />
Global Configuration Mode<br />
Example<br />
Create a Standard-IP ACL whose ID is 120, and add Rule 10 for it. In the rule,<br />
the source IP address is 192.168.0.100, the source IP address mask is<br />
255.255.255.0, the time-range for the rule to take effect is tSeg1, and the<br />
packets match this rule will be forwarded by the switch:<br />
<strong>TP</strong>-LINK(config)# acl create 120<br />
<strong>TP</strong>-LINK(config)# acl rule std-acl 120 10 op permit dip 192.168.0.100 dmask<br />
255.255.255.0 tseg tSeg1<br />
acl edit rule std-acl<br />
Description<br />
The acl edit rule std-acl command is used to edit Standard-IP ACL rule.<br />
Syntax<br />
acl edit rule std-acl {acl-id} {rule-id} [op {discard | permit}] [[sip source-ip]<br />
140