tunnel discard ipv4-compatible-packet

Syntax

tunnel discard ipv4-compatible-packet

undo tunnel discard ipv4-compatible-packet

View

System view

Default level

2: System level

Parameters

None

Description

Use tunnel discard ipv4-compatible-packet to enable dropping of IPv6 packets using IPv4-compatible IPv6 addresses.

Use undo tunnel discard ipv4-compatible-packet to restore the default.

By default, IPv6 packets using IPv4-compatible IPv6 addresses are not dropped.

The tunnel discard ipv4-compatible-packet command enables the device to check the source and destination IPv6 addresses of the de-encapsulated IPv6 packets from the tunnel and discard packets that use a source or destination IPv4-compatible IPv6 address.

Examples

# Enable dropping of IPv6 packets using IPv4-compatible IPv6 addresses.

<Sysname> system-view
[Sysname] tunnel discard ipv4-compatible-packet