Configuration prerequisites
On each of the peer devices, configure an IP address for the interface to be used as the source interface of the tunnel interface (for example, a VLAN interface or a loopback interface), and make sure this interface can normally communicate with the interface used as the source interface of the tunnel interface on the peer device.
Create a service loopback group, specify its service type as tunnel, and add an available Layer 2 Ethernet port to the service loopback group. For more information about the service loopback group, see Layer 2—LAN Switching Configuration Guide.