Enabling dropping IPv6 packets that use IPv4-compatible IPv6 addresses

About dropping IPv6 packets that use IPv4-compatible IPv6 addresses

This feature enables the device to check the source and destination IPv6 addresses of the de-encapsulated IPv6 packets from a tunnel. If a packet uses an IPv4-compatible IPv6 address as the source or destination address, the device discards the packet.

Procedure

  1. Enter system view.

    system-view

  2. Configure the device to discard IPv6 packets with IPv4-compatible IPv6 addresses.

    tunnel discard ipv4-compatible-packet

    By default, the device does not discard such IPv6 packets.

    For more information about this command, see Layer 3—IP Services Command Reference.