CLI Reference Guide
mac access-list
Description
The mac access-list command is used to create MAC ACL. To set the detailed
configurations for a specified MAC ACL, please use mac access-list command
to access Mac Access-list Configuration Mode. To delete the MAC ACL, please
use no mac access-list.
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-SG3424(config)# mac access-list 23
access-list standard
Description
The acce ss-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 ]
no access-list standard acl-id rule rule-id
Parameter
acl-id —— The desired Standard-IP ACL for configuration.
178