layer2-protocol-tunneling
Syntax
layer2-protocol-tunneling all | protocol-name { drop-threshold number; shutdown-threshold number; }
Hierarchy Level
[edit vlans vlan-name dot1q-tunneling]
Description
Enable Layer 2 protocol tunneling (L2PT) on a VLAN on switches that do not use the the Enhanced Layer 2 Software (ELS) configuration style (which includes EX2200, EX3300, EX4200, EX4500, and EX4450 switches).
This command is not available on switches that use ELS
configuration style (including EX2300, EX3400, EX4300, EX4600, EX9200,
and any QFX Series switches that support L2PT). On those switches,
you enable L2PT using the protocol
statement at the [edit protocols layer2-control mac-rewrite interface interface-name]
hierarchy level. See Configuring Layer 2 Protocol Tunneling.
For details on ELS, see Using the Enhanced Layer 2 Software CLI.
The remaining statements are explained separately. See CLI Explorer.
Default
L2PT is not enabled.
Options
all
—Enable all supported Layer 2
protocols.
protocol-name
—Name of
the Layer 2 protocol. Values are:
802.1x
—IEEE 802.1X authentication802.3ah
—IEEE 802.3ah Operation, Administration, and Maintenance (OAM) link fault management (LFM)Note:If you enable L2PT for untagged OAM LFM packets, do not configure LFM on the corresponding access interface.
cdp
—Cisco Discovery Protocole-lmi
—Ethernet local management interfacegvrp
—GARP VLAN Registration Protocollacp
—Link Aggregation Control ProtocolNote:If you enable L2PT for untagged LACP packets, do not configure LACP on the corresponding access interface.
lldp
—Link Layer Discovery Protocolmmrp
—Multiple MAC Registration Protocolmvrp
—Multiple VLAN Registration Protocolstp
—Spanning Tree Protocol, Rapid Spanning Tree Protocol, and Multiple Spanning Tree Protocoludld
—Unidirectional Link Detection (UDLD)vstp
—VLAN Spanning Tree Protocolvtp
—VLAN Trunking Protocol
Required Privilege Level
system—To view this statement in the configuration.system-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 10.0 for EX Series switches.