R3102-R3103-HP 6600/HSR6600 Routers Layer 3 - IP Services Command Reference
283
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 | p2mp ] | ipsec ipv4 | ipv4-ipv4 | ipv4-ipv6 |
ipv6-ipv4 [ 6to4 | auto-tunnel | isatap ] | ipv6-ipv6 | mpls te }
undo tunnel-protocol
Default
The tunnel mode is GRE mode..
Views
Tunnel interface view
Default command level
2: System level
Parameters
dvpn gre: Specifies the DVPN GRE tunnel mode.
dvpn udp: Specifies the DVPN UDP tunnel mode.
gre: Specifies the GRE over IPv4 tunnel mode.
gre ipv6: Specifies the GRE over IPv6 tunnel mode.
gre p2mp: Specifies the point-to-multipoint GRE tunnel mode.










