L2TPv3 over IPv6 is used to establish L2TPv3 tunnels on an IPv6 public network, so that Layer 2 user packets can be transparently transmitted across the IPv6 public network.
Layer 2 Ethernet services need to be transmitted over an L2TPv3 tunnel on a public IPv6 network. Tags are used for flexible access.
Before configuring L2TPv3 over IPv6, complete the following tasks:
Connect interfaces and configure physical interface parameters for interfaces to go Up at the physical layer.
Configure link-layer protocol parameters for interfaces to go Up at the link layer.
Configure static IPv6 routes for devices to communicate.
Enable IPv6 both globally and on specific interfaces.
Configure IPv6 addresses for devices.
The system view is displayed.
L2TPv3 is enabled.
The configuration is committed.
An L2TPv3 tunnel is created and the L2TPv3 tunnel view is displayed.
The local session ID is configured.
The remote session ID is configured.
The source interface of the L2TPv3 tunnel is configured.
The IP address must be an IPv6 address.
The destination IPv6 address of the L2TPv3 tunnel is configured.
The configuration is committed.
Return to the Layer 2 sub-interface view.
The encapsulation type on an EVC Layer 2 sub-interface is configured.
The traffic behavior is "pop" so that an EVC Layer 2 sub-interface removes VLAN tags from received packets.
If L2TPv3 is configured on a Layer 3 sub-interface, you only need to configure an encapsulation type for the sub-interface. Step 13 or 14 does not need to be performed.
The configuration is committed.
Run the display l2tpv3 pw pwname command to check whether the L2TPv3 tunnel is correctly configured.
Run the display l2tpv3 statistics pw pwname command. The command output shows packet statistics about the L2TPv3 tunnel.