190
rule-id
—— The rule ID.
deny —— The operation to discard packets.
permit ——The operation to forward packets. It is the default value.
dscp-value
—— Specify the dscp value, ranging from 0 to 63.
flow-label-value
—— The IPv6 flow label, which ranges from 0-0xfffff.
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.
destination-ip-mask
—— The destination IP address mask. It is required if you
typed the destination IP address.
s-port
—— The source port number.
d-port
—— The destination port number.
Command Mode
Global Configuration Mode
Privilege Requirement
Only Admin, Operator and Power User level users have access to these
commands.
User Guidelines
Before binding an IPv6 ACL to a VLAN or interface, you should configure the
SDM template as “enterpriseV6” and save your configurations. For more
information about SDM configuration, please refer to sdm prefer
.
Example
Create an IPv6 ACL whose ID is 3600, and add Rule 10 for it. In the rule, the
source IP address is 3001::1, the source IP address mask is 255.255.255.0,
and the packets match this rule will be forwarded by the switch:
T1600G-52TS(config)# access-list create 3600
T1600G-52TS(config)# access-list ipv6 3600 rule 10 permit sip 3001::1
sip-mask ffff:ffff:ff00:00ff
24.6 rule
Description
The rule command is used to configure MAC ACL rule. To delete the
corresponding rule, please use no rule command.