R2511-HP MSR Router Series Layer 3 - IP Services Command Reference(V5)

237
[Sysname] interface tunnel 0
[Sysname-Tunnel0] tunnel bandwidth 100
tunnel discard ipv4-compatible-packet
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.
Syntax
tunnel discard ipv4-compatible-packet
undo tunnel discard ipv4-compatible-packet
Default
IPv6 packets using IPv4-compatible IPv6 addresses are not dropped.
Views
System view
Default command level
2: System level
Usage guidelines
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
tunnel-protocol
Use tunnel-protocol to specify the tunnel mode for the tunnel interface.
Use undo tunnel-protocol to restore the default.
Syntax
tunnel-protocol { dvpn { gre | udp } | gre [ ipv6 ] | ipsec ipv4 | ipv4-ipv4 | ipv4-ipv6 [ dslite-aftr |
dslite-cpe ] | ipv6-ipv4 [ 6to4 | auto-tunnel | isatap ] | ipv6-ipv6 | mpls te }
undo tunnel-protocol
Default
The tunnel mode is GRE over IPv4 mode.
Views
Tunnel interface view
Default command level
2: System level