show l2pt interface
Syntax
show l2pt interface <brief | detail> <interface-name>
Description
Display information about the interfaces and protocols for which the device will use Layer 2 (L2) protocol tunneling (L2PT) across destination encapsulation tunnels in an EVPN network. When the device receives protocol control frames on the configured interfaces, the device transparently transmits those frames across the encapsulation tunnels and doesn't trap those frames to the control plane.
Use this command when you configure L2PT over destination encapsulation tunnels with the
l2pt statement at the [edit protocols layer2-control]
hierarchy
level. The output of this command includes the L2PT-enabled protocols and the destination
encapsulation tunnel type.
Standard L2PT implements protocol tunneling using MAC rewrite operations, so instead of
using the l2pt
statement, you configure standard L2PT using the mac-rewrite statement
at the [edit protocols layer2-control]
hierarchy level. See Layer 2 Protocol Tunneling for details on the standard L2PT
feature.
To see information about a standard L2PT configuration, use the show mac-rewrite interface command. That command displays the L2PT-enabled protocols and the destination MAC address the device uses for the MAC rewrite operation.
However, you can still use this show l2pt interface
command to see
information about interfaces where you enabled standard L2PT. In that case, instead of a
destination encapsulation tunnel, the command shows the destination MAC address the device
uses for the MAC rewrite operation.
Options
(brief | detail) |
(Optional) Display the specified level of output. |
interface interface-name |
(Optional) Display information for L2PT over encapsulation tunnels for the specified interface. Without this option, the command displays L2PT information for all interfaces configured with L2PT over encapsulation tunnels. |
Required Privilege Level
view
Output Fields
Field Name |
Field Description |
Level of Output |
---|---|---|
|
Name of the access interface on which you have configured L2PT over encapsulation tunnels. |
brief detail |
Destination |
Either of the following:
|
brief detail |
Protocols |
L2 protocol control packets that the device receives on the listed interface and transparently tunnels over the encapsulation tunnels on the device. |
brief detail |
Sample Output
- show l2pt interface
- show l2pt interface (L2PT over VXLAN and standard L2PT on different interfaces)
- show l2pt interface name detail
show l2pt interface
user@device> show l2pt interface Interface Destination Protocols xe-0/0/1 VXLAN-TUNNEL 8021X 8023AH ELMI LACP LLDP MMRP MVRP xe-0/1/1 VXLAN-TUNNEL LLDP MVRP
show l2pt interface (L2PT over VXLAN and standard L2PT on different interfaces)
This sample output shows L2PT over VXLAN (Destination=VXLAN-TUNNEL) and standard L2PT (Destination=Protocol MAC rewrite address) enabled on different interfaces for same protocol.
user@device> show l2pt interface Interface Destination Protocols xe-0/0/2:3 VXLAN-TUNNEL LLDP xe-0/0/3:1 01:00:0C:CD:CD:D0 LLDP
show l2pt interface name detail
user@device> show l2pt interface xe-0/0/1 detail Interface: xe-0/0/1 Destination: VXLAN-TUNNEL Protocols: 8021X 8023AH ELMI LACP LLDP MMRP MVRP STP
Release Information
Command introduced in Junos OS Release 24.2R1.