T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
207
to access Mac Access-list Configuration Mode. To delete the MAC ACL, please
use
no
mac access-list
.
Syntax
mac access-list
acl-id
no mac access-list
acl-id
Parameter
acl-id
—— ACL ID, ranging from 0 to 499.
Command Mode
Global Configuration Mode
Example
Create a MAC ACL whose ID is 23:
T2700G-28TQ(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
]
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.