205
• RFC 6333, Dual-Stack Lite Broadband Deployments Following IPv4 Exhaustion
Tunneling configuration task list
Tasks at a
lance
(Required.) Configuring a tunnel interface
Perform one of the following tasks:
• Configuring an IPv6 over IPv4 tunnel:
{ Configuring an IPv6 over IPv4 manual tunnel
{ Configuring a 6to4 tunnel
{ Configuring an ISATAP tunnel
• Configuring an IPv4 over IPv4 tunnel
• Configuring an IPv4 over IPv6 tunnel
• Configuring an IPv6 over IPv6 tunnel
Configuring a tunnel interface
Configure a Layer 3 virtual tunnel interface on each device on a tunnel so that devices at both ends can
send, identify, and process packets from the tunnel.
The switch cannot directly route a tunneled packet based on the packet's destination address. The packet
is sent to a tunnel-type service loopback group, which then delivers the packet to the forwarding module
for Layer 3 forwarding. Therefore, you must configure a tunnel-type service loopback group. Otherwise,
the tunnel interface will fail to forward and receive packets. For information about service loopback
group, see Layer 2—LAN Switching Configuration Guide.
To configure a tunnel interface:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a tunnel interface,
specify the tunnel mode, and
enter tunnel interface view.
interface tunnel number mode
{ gre [ ipv6 ] | ipv4-ipv4 |
ipv6 | ipv6-ipv4 [ 6to4 |
isatap ] | mpls-te }
By default, no tunnel interface is
created.
When you create a new tunnel
interface, you must specify the tunnel
mode. When you enter the view of an
existing tunnel interface, you do not
need to specify the tunnel mode.
The two ends of a tunnel must use the
same tunnel mode. Otherwise,
packet tunneling will fail.
3. (Optional.) Configure a
description for the interface.
description text
By default, the description of a tunnel
interface is Tunnel number Interface.
4. (Optional.) Specify an IRF
member device for forwarding
the traffic on the tunnel interface.
service slot slot-number
By default, no IRF member device is
specified.