TP-Link TL-SL3428 Switch User Manual


 
TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide
148
Syntax
mac access-list access-list-num
no mac access-list access-list-num
Parameter
access-list-num —— ACL ID, ranging from 0 to 99.
Command Mode
Global Configuration Mode
Example
Create a MAC ACL whose ID is 23:
TL-SL3428(config)#mac access-list 23
access-list standard
Description
The access-list standard command is used to add Standard-IP ACL rule. To
delete the corresponding rule, please use no access-list standard command.
Standard-IP ACLs analyze and process data packets based on a series of
match conditions, which can be the source IP addresses and destination IP
addresses carried in the packets.
Syntax
access-list standard acl-id rule rule-id [deny | permit] [ [sip source-ip] smask
source-ip-mask] [ [dip destination-ip] dmask destination-ip-mask] [tseg
time-segment ] [ frag {disable | enable} ]
no access-list standard acl-id rule rule-id
Parameter
acl-id —— The desired Standard-IP ACL for configuration.
rule-id —— The rule ID.
deny —— The operation to discard packets.
permit ——The operation to forward packets. It is the default value.
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.