Technical Documentation



layer2-protocol-tunneling all | protocol-name {drop-threshold number;shutdown-threshold number;}

Hierarchy Level

[edit vlans vlan-name dot1q-tunneling]

Release Information

Statement introduced in JUNOS Release 10.0 for EX Series switches.


Enable Layer 2 protocol tunneling (L2PT) on the VLAN.

The remaining statements are explained separately.


L2PT is not enabled.


all—Enable all supported Layer 2 protocols.

protocol-name—Name of the Layer 2 protocol. Values are:

  • 802.1x—IEEE 802.1x authentication
  • 802.3ah—IEEE 802.3ah Operation, Administration, and Maintenance (OAM) Link Fault Management (LFM)

    Note: If you enable L2PT for untagged LFM packets, do not configure LFM on the corresponding access interface.

  • cdp—Cisco Discovery Protocol
  • e-lmi—Ethernet Local Management Interface
  • gvrp—GARP VLAN Registration Protocol
  • lacp—Link Aggregation Control Protocol

    Note: If you enable L2PT for untagged LACP packets, do not configure LACP on the corresponding access interface.

  • llpd—Link Layer Discovery Protocol
  • mmrp—Multiple MAC Registration Protocol
  • mvrp—Multiple VLAN Registration Protocol
  • stp—Spanning Tree Protocol, Rapid Spanning Tree Protocol, and Multiple Spanning Tree Protocol
  • vstp—VLAN Spanning Tree Protocol
  • vtp—VLAN Trunking Protocol

Required Privilege Level

routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.

Published: 2010-01-04