Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?



Syntax (ACX Series Routers)

Syntax (MX Series Routers)

Syntax (QFX Series Switches)

Syntax (EX Series Switches)

Syntax (EX2300 Multigigabit Model Switches)

Syntax (EX2300, EX3400, EX4300, EX4300 Multigigabit Model, EX4600, and EX4650 Switches)

Syntax (EX4100, EX4300-MP, and EX4400 Switches)

Syntax (EX9200 Switches)

Hierarchy Level


Configure the protocol to be tunneled on an interface using Layer 2 protocol tunneling (L2PT). To enable tunneling multiple protocols, include multiple protocol statements.

You can tunnel different protocols listed in the Options section on different types of devices. The Syntax and Release Information sections list the available options for the protocols that different devices can tunnel as of a particular Junos OS release (for devices that support L2PT).

When a service provider edge (PE) port configured for L2PT receives a control packet for a supported protocol, the device rewrites the multicast destination MAC address with the predefined multicast tunneling MAC address 01:00:0c:cd:cd:d0. The packet travels across the provider network transparently to the other end of the tunnel, and the destination device restores the original multicast destination MAC address to deliver the packet at its destination.


all—Tunnel all supported Layer 2 control protocols.

cdp—Tunnel the Cisco Discovery Protocol (CDP).

elmi—Tunnel Ethernet Local Management Interface (E-LMI) packets.

gvrp—Tunnel Generic Attribute Registration Protocol (GARP) VLAN Registration Protocol (GVRP) packets.

ieee8021x—Tunnel IEEE 802.1X authentication packets.

ieee8023ah—Tunnel IEEE 802.3AH Operation, Administration, and Maintenance (OAM) link fault management (LFM) packets.

lacp—Tunnel Link Aggregation Control Protocol (LACP) packets.

lldp—Tunnel Link Layer Discovery Protocol (LLDP) packets.

mmrp—Tunnel Multiple MAC Registration Protocol (MMRP) packets.

mvrp—Tunnel Multiple VLAN Registration Protocol (MVRP) packets.

pvstp—Tunnel VLAN Spanning Tree Protocol (VSTP), Per-VLAN Spanning Tree (PVST), and Per-VLAN Spanning Tree Plus (PVST+) Protocol packets.

stp—Tunnel packets for all versions of Spanning-Tree Protocols.

udld—Tunnel Unidirectional Link Detection (UDLD) packets.

vstp—Tunnel VLAN Spanning Tree Protocol (VSTP) packets.

vtp—Tunnel VLAN Trunking Protocol (VTP) packets.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 9.1.

Support for PVST/PVST+ introduced in Junos OS Release 13.3 for MX Series routers and EX9200 switches.

Support for E-LMI, IEEE 802.1X, MMRP, and UDLD introduced in Junos OS Release 17.3R1 for EX4300 switches.

Support for E-LMI, GVRP, IEEE 802.1x, IEEE 802.3AH, LACP, LLDP, MMRP, MVRP, and UDLD introduced in Junos OS Release 17.3R1 for EX9200 switches.

Support for E-LMI, IEEE 802.1X, MMRP, and UDLD introduced in Junos OS Release 18.2R1 for EX2300 and EX3400 switches.

all option added in Junos OS Release 22.3R1.