R3303-HP 6600/HSR6600 Routers Layer 3 - IP Services Command Reference
295
[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.
ipv6-ipv6: Specifies the IPv6 over IPv6 tunnel mode.
mpls te: Specifies the MPLS TE tunnel mode.
Usage guidelines
You can select a tunnel mode according to the actual network topology and application. The two ends
of a tunnel must have the same tunnel mode specified. Otherwise, traffic transmission might fail.
Only one automatic tunnel can be created at the start point of a tunnel.
For more information about DVPN tunnel mode and GRE tunnel mode, see Layer 3—IP Services
Configuration Guide. For more information about IPsec tunnel mode, see Security Configuration Guide.
For more information about MPLS TE tunnel mode, see MPLS Configuration Guide.










