Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show l2pt interface

Syntax

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.

Note:

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

Table 1: show l2pt interface Output Fields

Field Name

Field Description

Level of Output

Interface

Name of the access interface on which you have configured L2PT over encapsulation tunnels.

brief detail

Destination

Either of the following:

  • When you enable L2PT over encapsulation tunnels, the destination encapsulation tunnel type:

    • vxlan-tunnel—L2PT enabled over VXLAN tunnels on the device.

  • When you enable standard L2PT, the MAC address the device uses for the MAC rewrite operation

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—Destination=VXLAN-TUNNEL and standard L2PT—Destination=MAC rewrite address, enabled on different interfaces for same protocol)

show l2pt interface name detail

Release Information

Command introduced in Junos OS Release 24.2R1.