A SERVICE OF

logo

887
tunnel-protocol
Syntax tunnel-protocol { ipv4-ipv4 | ipv6-ipv4 [ 6to4 | auto-tunnel | isatap ] | ipv6-ipv6 |
ipv4-ipv6 }
undo tunnel-protocol
View Tunnel interface view
Parameter ipv4-ipv4: Sets the tunnel to an IPv4 over IPv4 tunnel.
Ipv4-ipv6: Sets the tunnel to an IPv4 over IPv6 tunnel.
ipv6-ipv4: Sets the tunnel to an IPv6 over IPv4 tunnel.
ipv6-ipv4 6to4: Sets the tunnel to IPv6 over IPv4 6to4 tunnel.
ipv6-ipv4 auto-tunnel: Sets the tunnel to an automatic IPv4 compatible IPv6
tunnel.
ipv6-ipv4 isatap: Sets the tunnel to an IPv6 over IPv4 ISATAP tunnel.
ipv6-ipv6: Sets the tunnel to an IPv6 over IPv6 tunnel.
mpls te: Sets the tunnel to an MPLS TE tunnel.
Description Use the
tunnel-protocol command to configure the tunnel type.
Use the undo tunnel-protocol to restore the tunnel type to the default.
By default, the tunnel is GRE tunnel.
Note that:
A proper tunnel type can be selected for packet encapsulation according to the
network topology and application. The same tunnel type must be configured at
both ends of the tunnel. Otherwise, packet delivery will fail.
Only one automatic tunnel can be configured at the same tunnel source.
For details about MPLS TE tunnel, refer to “mpls te tunnel-id” on page 1636.
Example # Specify the tunnel type as IPv4 over IPv4 for a tunnel interface.
<Sysname> system-view
[Sysname] interface tunnel 2
[Sysname-Tunnel2] tunnel-protocol ipv4-ipv4