Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show ethernet-switching layer2-protocol-tunneling interface

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show ethernet-switching-layer2-protocol-tunneling interface
<interface-name>

Description

Display information about Layer 2 protocol tunneling (L2PT) on interfaces that have been configured for L2PT.

Options

none

Display L2PT information about all interfaces on which L2PT is enabled.

interface-name

(Optional) Display L2PT information for the specified interface.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show ethernet-switching layer2-protocol-tunneling interface command. Output fields are listed in the approximate order in which they appear.

Table 1: show ethernet-switching layer2-protocol-tunneling interface Output Fields

Field Name

Field Description

Interface

Name of an interface on the switch.

Operation

Type of operation being performed on the interface. Values are Encapsulation and Decapsulation.

State

State of the interface. Values are active and shutdown.

Description

If the interface state is shutdown, displays why the interface is shut down. If the description says Loop detected, it means that the interface is an access interface that has received L2PT-enabled PDUs. Access interfaces should not receive L2PT-enabled PDUs. This scenario might mean that there is a loop in the network.

Sample Output

show ethernet-switching layer2-protocol-tunneling interface

content_copy zoom_out_map
user@switch> show ethernet-switching layer2-protocol-tunneling interface

Layer2 Protocol Tunneling information:
Interface     Operation       State      Description
xe-0/0/0.0    Encapsulation   Shutdown   Shutdown threshold exceeded
xe-0/0/1.0    Decapsulation   Shutdown   Loop detected
xe-0/0/2.0    Decapsulation   Active

show ethernet-switching layer2-protocol-tunneling interface xe-0/0/0.0

content_copy zoom_out_map
user@switch> show ethernet-switching layer2-protocol-tunneling interface xe-0/0/0.0

Layer2 Protocol Tunneling information:
Interface     Operation       State      Description
xe-0/0/0.0    Encapsulation   Shutdown   Shutdown threshold exceeded

Release Information

Command introduced in Junos OS Release 10.0.

footer-navigation