Configure L2GRE Tunnel to Encapsulate Traffic

Before creating a L2GRE tunnel to encapsulate traffic, refer to the L2GRE Tunnel Configuration—Rules and Notes.

The following table summarizes the required tasks to configure a L2GRE tunnel for encapsulating the traffic:

S.No

Task

Refer to...

1.

Configure the required circuit port.

Configure Ports

2.

Configure an IP interface and attach the circuit port that you created in task 1.

Configure IP Interface

3.

Configure a L2GRE tunnel for encapsulation and attach the IP interface that you created in task 2. Ensure that you select the Type as L2GRE and the Mode as Encapsulation.

Create Tunnel

4

Create a L2GRE group for a device and add all the L2GRE IDs that are specific to the device.

Create VXLAN / L2GRE Group

5.

Configure the L2GRE ID either at the chassis-level or at the port-level to help identify the encapsulation tunnel. You must use one of the L2GRE IDs that you have already added in the L2GRE group for the device in task 4.

Configure L2GRE / VXLAN Identifier

6.

Configure a map to encapsulate the L2GRE traffic.

Ensure that you add the following details when configuring a map:

If you have configured the L2GRE ID for the chassis, you can configure any network port on the chassis as the source port of the map.
If you have configured the L2GRE ID for a network port, you must configure that network port as the source port of the map.
Configure the encapsulation tunnel that you created in task 3 as the destination port of the map.
Specify the required pass/drop rule in the map to filter the traffic based on inner packet attributes or L2GRE ID for the template configured.

Create a New Map