JetStream 52-Port Gigabit Stackable L3 Managed Switch CLI Guide
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:
T3700G-52TQ(config)#access-list create 110
T3700G-52TQ(config)#access-list extended 110 rule 10 permit sip
192.168.0.100 smask 255.255.255.0 tseg tSeg1
29.8 rule
Description
The rule command is used to configure MAC ACL rule. To delete the
corresponding rule, please use no rule command.
Syntax
rule
rule-id
{deny | permit} [smac
source-mac
smask
source-mac-mask
]
[dmac
destination-mac
dmask
destination-mac-mask
] [type
ethernet-type
]
[pri
user-pri
] [tseg
time-segment
] [vid
vlan-id
] [s-condition
rate-limit
]
[qos-remark
value
] [ s-mirror interface { gigabitEthernet
mirror-port
|
ten-gigabitEthernet
mirror-port
} | redirect interface { gigabitEthernet
redirect-port
| ten-gigabitEthernet
redirect-port
}]
no rule
rule-id
Parameter
rule-id
—— The rule ID.
deny —— The operation to discard packets.
permit ——The operation to forward packets. By default, it is “permit”.
source-mac
—— The source MAC address contained in the rule.
source-mac-mask
—— The source MAC address mask. It is required if you
typed the source MAC address.
destination-mac
—— The destination MAC address contained in the rule.
destination-mac-mask
—— The destination MAC address mask. It is required
if you typed the destination MAC address.
ethernet-type
—— EtherType contained in the rule, in the format of 4-hex
number.
user-pri
—— The user priority contained in the rule, ranging from 0 to 7. By
default, it is not limited.
time-segment
—— The time-range for the rule to take effect. By default, it is
not limited.
228