Configure L2PT over VXLAN Tunnels
Configure L2PT over VXLAN on EVPN-VXLAN bridged overlay (BO) network leaf devices to transparently forward L2 protocol traffic over the VXLAN tunnels in the network.
Overview
When you enable L2PT over VXLAN on an access interface for a Layer 2 (L2) protocol, the leaf device doesn't process Bridge Protocol Data Units (BPDUs) coming in on the interface for that protocol. The local device simply encapsulates the protocol BPDUs and floods the packets in the broadcast domain (VLAN) on the corresponding VXLAN tunnels to the remote VXLAN tunnel endpoints (VTEPs) in the network. The remote VTEP leaf devices de-encapsulate the protocol traffic and forward the traffic to the receiving hosts in the VLAN.
Topology
In this example, we have an EVPN-VXLAN bridged overlay fabric with VXLAN tunnels configured between all of the leaf devices. See Figure 1.
-
Host B on VLAN-1 is the source for the protocol control traffic that should pass transparently to other hosts in VLAN-1 through the EVPN-VXLAN BO network using L2PT over VXLAN.
-
Host B is behind customer edge (CE) device TOR 1.
-
TOR 1 is multihomed to Leaf 1 and Leaf 2, so TOR 1 will load-balance (LB) the incoming traffic between those two leaf devices.
-
On Leaf 1 and Leaf 2, we use aggregated Ethernet interface ae5 as the access interface toward TOR 1 and Host B on which we enable L2PT over VXLAN.

How L2PT over VXLAN Works
Figure 1 shows L2PT over VXLAN in action as follows:
When protocol control traffic from Host B on VLAN-1 arrives at TOR 1, TOR 1 load-balances the traffic between Leaf 1 and Leaf 2. In this case, TOR 1 sends the traffic to the access-side interface on Leaf 2 that has L2PT over VXLAN enabled (ae5).
Leaf 2 doesn't process the protocol control traffic, but encapsulates it and transparently floods it to all the VXLAN tunnels on VLAN-1 toward its neighboring leaf devices (Leaf 1, Leaf 3, and Leaf 4).
The destination leaf devices de-encapsulate the protocol traffic and forward the traffic toward their hosts on VLAN-1 (Host A and Host E). The leaf devices don't forward the de-encapsulated traffic toward the hosts on VLAN-2 (Host C and Host D).
For multihomed destinations, the multihoming peer leaf device that is the designated forwarder (DF) for the Ethernet segment (ES) forwards the traffic toward the destination host. In this case, on Leaf 4, ae4 is the DF for multihomed TOR 3. so Leaf 4 forwards the traffic toward Host E on VLAN-1. Leaf 3 receives the flooded traffic from the VXLAN tunnel on VLAN-1, but because it isn't the DF for TOR 3, it doesn't forward the de-encapsulated traffic toward TOR 3 and Host E.
We show enabling L2PT over VXLAN on the access-side interfaces of the leaf devices that are connected to the protocol traffic source, Leaf 1 and Leaf 2. If the destination hosts need to transparently return protocol traffic, you must enable L2PT over VXLAN on the access interfaces of the leaf devices that are connected to those hosts as well.
The ingress leaf device broadcasts tagged packets for the configured protocols to each VXLAN tunnel on the incoming packet’s VLAN, in this case, VLAN-1. If the incoming protocol BPDU is untagged, the device uses the native VLAN to flood the traffic to the VTEP interfaces on the device. As a result, you must configure a native VLAN ID for this feature to also work for untagged traffic.
Keep the following items in mind when you plan to use L2PT over
VXLAN, which you
configure using statements at the [edit protocols layer2-control l2pt
interface]
hierarchy level:
-
You can't configure an interface to process protocol traffic and also transparently forward traffic over VXLAN tunnels for the same protocol. For example, you can't configure the device to process control BPDUs coming in on interface xe-0/0/1 for a protocol such as Link Layer Discovery Protocol (LLDP):
set protocols lldp interface xe-0/0/1
And also configure the device to transparently forward LLDP control BPDUs over the VXLAN tunnels when those BPDUs come in on the same interface:
set protocols layer2-control l2pt interface xe-0/0/1 destination vxlan-tunnel set protocols layer2-control l2pt interface xe-0/0/1 protocol lldp
-
You can't configure the regular L2PT MAC rewrite feature (see mac-rewrite) and the L2PT over VXLAN feature on the same interface. For example, for LLDP control BPDUs coming in on interface xe-0/0/1, you can't configure:
set protocols layer2-control mac-rewrite interface xe-0/0/1 protocols lldp
and also configure L2PT over VXLAN for LLDP on the same interface:
set protocols layer2-control l2pt interface xe-0/0/1 destination vxlan-tunnel set protocols layer2-control l2pt interface xe-0/0/1 protocol lldp
- The available protocol options might differ on different platforms. See Layer 2 Protocol Tunneling over VXLAN Tunnels in EVPN-VXLAN Bridged Overlay Networks for details. For example, some platforms transparently tunnel certain protocols by default (such as STP and other xSTP protocols). Those platforms don’t have L2PT protocol options to explicitly configure those protocols for L2PT over VXLAN.
-
Some supported protocols share the same destination MAC address. When you enable L2PT over VXLAN for a protocol, the device transparently forwards BPDUs for all supported protocols that have the same destination MAC address.
-
You must configure the same protocol options symmetrically on leaf devices that are multihoming peers for the BPDU source device, because either peer device might receive the traffic from the source.
Before You Begin
Set up the EVPN-VXLAN bridged overlay fabric with VXLAN tunnels between the leaf devices as shown in Figure 1. See Bridged Overlay Design and Implementation for an example.