3com MSR 20-20 참조 매뉴얼
2115
Description
Use the rule command to create an IPv6 ACL rule.
Use the undo rule command to remove an IPv6 ACL rule or parameters from the
rule.
rule.
With the undo rule command, if no parameters are specified, the entire ACL rule
is removed; if other parameters are specified, only the involved information is
removed.
is removed; if other parameters are specified, only the involved information is
removed.
n
Support for this command varies by device.
Example
# Create a rule in IPv6 ACL 10000 to match the TCP RST packets with the source
address of 2200::100/64.
address of 2200::100/64.
<Sysname> system-view
[Sysname] acl ipv6 number 10000
[Sysname-acl6-simple-10000] rule tcp addr-flag 4 source 2200::100/64
tcp-type tcprst
rule comment (for IPv6)
Syntax
rule rule-id comment text
undo rule rule-id comment
View
Basic IPv6 ACL view, advanced IPv6 ACL view
Parameter
rule-id: IPv6 ACL rule number in the range 0 to 65534.
text: IPv6 ACL rule description, a case-sensitive string of 1 to 127 characters.
Description
Use the rule comment command to create or modify a description for an
existing IPv6 ACL rule, for example to describe the purpose of the ACL rule or its
attributes.
existing IPv6 ACL rule, for example to describe the purpose of the ACL rule or its
attributes.
Use the undo rule comment command to remove the IPv6 ACL rule description.
neighbor-advertisement Type=136
Code=0
neighbor-solicitation Type=135
Code=0
network-unreachable Type=1
Code=0
packet-too-big
Type=2 Code=0
port-unreachable
Type=1 Code=4
router-advertisement Type=134
Code=0
router-solicitation
Type=133 Code=0
unknown-ipv6-opt Type=4
Code=2
unknown-next-hdr Type=4
Code=1
Table 558 ICMPv6 messages definable in simple IPv4 ACL rules
ICMPv6 message
ICMPv6 TYPE
ICMPv6 CODE