Layer 2 Protocol Tunneling over VXLAN Tunnels in EVPN-VXLAN Bridged Overlay Networks
Enables Layer 2 (L2) protocol tunneling (L2PT) for protocol control frames from an access interface to VXLAN tunnel destinations in an EVPN-VXLAN bridged overlay (BO) network.
L2PT over VXLAN Tunnels
L2PT transmits bridge protocol data units (BPDUs) transparently across a bridged network between devices as if those devices are directly connected for those protocol control frames. The nodes in the transmission path don't trap and process the control frames for the tunneled protocols.
VXLAN tunnels in an EVPN-VXLAN bridged overlay (BO) network help isolate one customer's traffic from the traffic of other customers across the network.
L2PT over VXLAN tunnels enables a device in an EVPN-VXLAN bridged overlay network to transmit tagged or untagged protocol control frames transparently to destinations across the VXLAN tunnel endpoints (VTEPs) in the network. The VXLAN tunnels keep each customer's traffic separated, and L2PT prevents the devices in the network along the transmission path from processing the protocol frames. See Figure 1:
You enable L2PT on an access interface for the protocols you want to tunnel through the EVPN-VXLAN network. When control frames come into the device on that access interface, the device doesn't trap those frames to the control plane for protocol processing. Instead, the device encapsulates the frame with a VXLAN media access control (MAC) UDP header and VXLAN network identifier (VNI), and transparently floods the frames over the associated VXLAN tunnels toward the destination host. In other words, the devices in the EVPN-VXLAN network send those frames across the network the same way they send data packets.
The protocol control packets can be VLAN-tagged or untagged. The devices uses the following VNI values for the VXLAN encapsulation:
-
VLAN-tagged—The device uses the VNI corresponding to the control packet's VLAN.
-
Untagged—The device uses the VNI corresponding to the native VLAN.
The device at the destination VTEP terminates the VXLAN tunnel, decapsulates the frame, and floods the frame toward the destination access interfaces.
You can use L2PT over VXLAN in cases such as when your network has hosts attached to leaf devices over remote connections in the EVPN-VXLAN network, and the devices use LLDP to discover EVPN-VXLAN neighbor relationships.
To configure this feature for L2 protocol control frames coming in on a specified
access interface name, you must configure both of the following statements at the
[edit protocols layer2-control l2pt interface interface-name]
hierarchy
level:
-
destination vxlan-tunnel
—Enable L2PT in general toward network destinations that are across the VXLAN tunnels in the network. -
protocol (all | protocol-name)
—Specify an L2 protocol to tunnel. Use theall
option to tunnel all supported protocols, or include individualprotocol
statements for each protocol you want to tunnel.
See Configure and Verify L2PT over VXLAN for more on how to configure this feature.
Benefits of L2PT over VXLAN Tunnels
-
Provides a secure option for network administrators to extend tagged or untagged L2 BPDUs across the EVPN-VXLAN BO fabric.
L2PT over VXLAN Support Details
Use Feature Explorer to confirm platform and release support for this feature.
See Platform-Specific L2PT over VXLAN Behavior for a summary of platform-specific support differences. This section describes common supported behavior with this feature on all platforms.
We support L2PT over VXLAN tunnels in an EVPN-VXLAN BO network as follows:
-
Supported Protocols to Tunnel lists the L2 protocols you can configure the device to transparently forward over VXLAN tunnels.
-
If you enable an L2 protocol for L2PT over VXLAN on an interface, you can't configure that interface with the same protocol for data traffic on the device. The device throws a commit error in that case.
-
When you enable L2PT over VXLAN for a supported protocol, the device transparently forwards the protocol control frames with that protocol destination MAC address. If you enable L2PT for a protocol that has the same destination MAC address as one or more other supported protocols, the device transparently forwards the control frames for all of those protocols.
For example, LACP and 802.3AH protocol use the same destination MAC address, 01:80:C2:00:00:02. If you configure L2PT over VXLAN for LACP, the device tunnels 802.3ah protocol frames as well as LACP frames. (See Supported Protocols to Tunnel for the standard destination MAC addresses for each supported protocol.)
-
The device can tunnel L2 protocol frames that are VLAN-tagged or are untagged. We support Q-in-Q for the tunneled traffic according to the use cases described in Examples: Tunneling Q-in-Q Traffic in an EVPN-VXLAN Overlay Network.
To send tagged control BPDUs over the VXLAN tunnels, the device uses the VNI corresponding to the VLAN in the tagged frame. To send untagged control BPDUs over the VXLAN tunnels, the device uses the native VLAN and its corresponding VNI.
Note:For L2PT over VXLAN to work, you must configure a VLAN as the native VLAN and a VNI mapping for the native VLAN on the interface.
-
The specified access interface can be an interface that is:
-
A physical interface or an aggregated Ethernet (AE) interface.
-
Configured in the enterprise style or the service provider style. (See Flexible Ethernet Services Encapsulation and Understanding Flexible Ethernet Services Support With EVPN-VXLAN.)
-
A single-homed or multihomed connection.
-
-
You can't configure L2PT over VXLAN and standard L2PT (for the same or different protocols) on the same interface. See Layer 2 Protocol Tunneling for details on the standard L2PT feature (not over VXLAN encapsulation tunnels), which uses a MAC rewrite operation to perform the L2 tunneling. The MAC rewrite statements and commands described there apply only to the standard L2PT feature and not to L2PT over VXLAN.
However, you can configure L2PT over VXLAN on one interface and standard L2PT on a different interface (for the same or different protocols). You can also use the show l2pt interface command to see if L2PT over VXLAN or standard L2PT is enabled for an interface. In the Destination output field, the command displays VXLAN-TUNNEL for interfaces you enable with L2PT over VXLAN, or the MAC rewrite address for interfaces you enable with standard L2PT.
Supported Protocols to Tunnel
See Platform-Specific L2PT over VXLAN Behavior for platform-specific differences for supported protocol options.
You can configure the device to transparently tunnel BPDUs for the protocols
listed in Table 1. The table lists the options you configure at the
[edit protocols layer2-control l2pt interface
interface-name protocol]
hierarchy level to
enable L2PT for each protocol, as well as the protocol's standard destination
MAC address.
The device tunnels the protocol control frames based on the destination MAC address. As a result, the device will tunnel all protocols that share the same destination MAC address if you enable L2PT for any one of the protocols with that destination MAC address.
Protocol |
Protocol Name Configuration Option |
Protocol MAC Address |
---|---|---|
802.1X—IEEE 802.1X authentication |
ieee8021x |
01:80:C2:00:00:03 |
802.3ah—IEEE 802.3ah Operation, Administration, and Maintenance (OAM) link fault management (LFM) |
ieee8023ah |
01:80:C2:00:00:02 |
Cisco Discovery Protocol (CDP) |
cdp |
01:00:0C:CC:CC:CC |
Ethernet local management interface (E-LMI) |
elmi |
01:80:C2:00:00:07 |
Generic Attribute Registration Protocol (GARP) VLAN Registration Protocol (GVRP) |
gvrp |
01:80:C2:00:00:21 |
Link Aggregation Control Protocol (LACP) |
lacp |
01:80:C2:00:00:02 |
Link Layer Discovery Protocol (LLDP) |
lldp |
01:80:C2:00:00:0E |
Multiple MAC Registration Protocol (MMRP) |
mmrp |
01:80:C2:00:00:20 |
MVRP VLAN Registration Protocol (MVRP) |
mvrp |
01:80:c2:00:00:21 |
Per-VLAN Spanning Tree (PVST) protocol and PVST plus (PVST+) protocol |
pvstp |
01:00:0C:CC:CC:CD |
STP, Rapid STP (RSTP), and Multiple STP (MSTP) |
stp |
01:80:C2:00:00:00 |
Unidirectional Link Detection (UDLD) |
udld |
01:00:0C:CC:CC:CC |
VLAN Spanning Tree Protocol (VSTP) |
vstp |
01:00:0C:CC:CC:CD |
VLAN Trunking Protocol (VTP) |
vtp |
01:00:0C:CC:CC:CC |
Platform-Specific L2PT over VXLAN Behavior
Use Feature Explorer to confirm platform and release support for this feature.
Use the following table to review platform-specific behaviors for your platforms that support this feature.
Platform |
Difference |
---|---|
EX Series and QFX Series (Junos OS) |
|
QFX Series (Junos OS Evolved) |
|
Configure and Verify L2PT over VXLAN
To enable this feature, you configure statements in the l2pt stanza at the [edit protocols layer2-control]
hierarchy level.
Configure and verify L2PT over VXLAN on the device as follows: