R3303-HP HSR6800 Routers Layer 3 - IP Services Command Reference

Table Of Contents
296
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.
ipsec ipv4: Specifies the IPsec over IPv4 tunnel mode.
ipv4-ipv4: Specifies the IPv4 over IPv4 tunnel mode.
ipv4-ipv6: Specifies the IPv4 over IPv6 manual tunnel mode.
ipv6-ipv4: Specifies the IPv6 over IPv4 manual tunnel mode.
ipv6-ipv4 6to4: Specifies the IPv6 over IPv4 6to4 tunnel mode.
ipv6-ipv4 auto-tunnel: Specifies the IPv6 over IPv4 automatic tunnel mode.
ipv6-ipv4 isatap: Specifies the IPv6 over IPv4 ISATAP tunnel mode.