2115

Table 558 ICMPv6 messages definable in simple IPv4 ACL rules

ICMPv6 message

ICMPv6 TYPE

ICMPv6 CODE

 

 

 

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

 

 

 

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.

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.

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.

<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-idcomment text

undo rule rule-idcomment

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.

Use the undo rule comment command to remove the IPv6 ACL rule description.

Page 2115
Image 2115
3Com MSR 50, MSR 30 manual Rule comment for IPv6, Support for this command varies by device, 2115