Home > Configuration > NS > setnsacl6_icmptype

setnsacl6_icmptype

Use this method to set iCMP Message type to match against the message type of an incoming IPv6 ICMP packet. For example, to block DESTINATION UNREACHABLE messages, you must specify 3 as the ICMP type.

Note: This parameter can be specified only for the ICMP protocol.

Syntax



Parameters

acl6name

Name of the ACL6 rule whose parameters you want to modify.
This is mandatory parameter.

icmptype

ICMP Message type to match against the message type of an incoming IPv6 ICMP packet. For example, to block DESTINATION UNREACHABLE messages, you must specify 3 as the ICMP type. Note: This parameter can be specified only for the ICMP protocol.
Maximum value = 65536.

icmpcode

Code of a particular ICMP message type to match against the ICMP code of an incoming IPv6 ICMP packet. For example, to block DESTINATION HOST UNREACHABLE messages, specify 3 as the ICMP type and 1 as the ICMP code. If you set this parameter, you must set the ICMP Type parameter.
Maximum value = 65536.

Return Value

Returns simpleResult

See Also