show ethernet-switching layer2-protocol-tunneling statistics
Syntax
Release Information
Command introduced in Junos OS Release 10.0 for EX Series switches.
Description
Display Layer 2 protocol tunneling (L2PT) statistics for Layer 2 PDU packets received by the switch.
![]() | Note: The show ethernet-switching-layer2-protocol-tunneling statistics command does not display L2PT statistics for Layer 2 PDU packets transmitted from the switch. |
Options
- none
Display L2PT statistics for all interfaces on which you enabled L2PT.
- <interface interface-name>
(Optional) Display L2PT statistics for the specified interface.
- <vlan vlan-name>
(Optional) Display L2PT statistics for the specified VLAN.
Required Privilege Level
view
Related Topics
- clear ethernet-switching layer2-protocol-tunneling statistics
- show ethernet-switching layer2-protocol-tunneling interface
- show ethernet-switching layer2-protocol-tunneling vlan
- show vlans
- Example: Configuring Layer 2 Protocol Tunneling on EX Series Switches
- Configuring Layer 2 Protocol Tunneling on EX Series Switches (CLI Procedure)
List of Sample Output
show ethernet-switching layer2-protocol-tunneling statisticsshow ethernet-switching layer2-protocol-tunneling statistics interface ge-0/0/0.0
show ethernet-switching layer2-protocol-tunneling statistics vlan v2
Output Fields
Table 1 lists the output fields for the show ethernet-switching layer2-protocol-tunneling statistics command. Output fields are listed in the approximate order in which they appear.
Table 1: show ethernet-switching layer2-protocol-tunneling statistics Output Fields
VLAN | Field Description |
|---|---|
VLAN | Name of a VLAN on which L2PT has been configured. |
Interface | Name of an interface on which L2PT has been configured. |
Protocol | Name of a protocol for which L2PT has been enabled. Values are all, 802.1x, 802.3ah, cdp, e-lmi, gvrp, lacp, lldp, mmrp, mvrp, stp, vstp, and vtp. |
Operation | Type of operation being performed on the interface. Values are Encapsulation and Decapsulation. |
Packets | Number of packets that have been encapsulated or decapsulated. |
Drops | Number of packets that have exceeded the drop threshold and have been dropped. |
Shutdowns | Number of times that packets have exceeded the shutdown threshold and the interface has been shut down. |
Sample Output
show ethernet-switching layer2-protocol-tunneling statistics
user@switch> show ethernet-switching layer2-protocol-tunneling
statisticsLayer2 Protocol Tunneling Statistics: VLAN Interface Protocol Operation Packets Drops Shutdowns v1 ge-0/0/0.0 mvrp Encapsulation 0 0 0 v1 ge-0/0/1.0 mvrp Decapsulation 0 0 0 v1 ge-0/0/2.0 mvrp Decapsulation 60634 0 0 v2 ge-0/0/0.0 cdp Encapsulation 0 0 0 v2 ge-0/0/0.0 gvrp Encapsulation 0 0 0 v2 ge-0/0/0.0 lldp Encapsulation 0 0 0
show ethernet-switching layer2-protocol-tunneling statistics interface ge-0/0/0.0
user@switch> show ethernet-switching layer2-protocol-tunneling
statistics interface ge-0/0/0.0Layer2 Protocol Tunneling Statistics: VLAN Interface Protocol Operation Packets Drops Shutdowns v1 ge-0/0/0.0 mvrp Encapsulation 0 0 0 v2 ge-0/0/0.0 cdp Encapsulation 0 0 0 v2 ge-0/0/0.0 gvrp Encapsulation 0 0 0 v2 ge-0/0/0.0 lldp Encapsulation 0 0 0 v2 ge-0/0/0.0 mvrp Encapsulation 0 0 0 v2 ge-0/0/0.0 stp Encapsulation 0 0 0 v2 ge-0/0/0.0 vtp Encapsulation 0 0 0 v2 ge-0/0/0.0 vstp Encapsulation 0 0 0
show ethernet-switching layer2-protocol-tunneling statistics vlan v2
user@switch> show ethernet-switching layer2-protocol-tunneling
statistics vlan v2Layer2 Protocol Tunneling Statistics: VLAN Interface Protocol Operation Packets Drops Shutdowns v2 ge-0/0/0.0 cdp Encapsulation 0 0 0 v2 ge-0/0/0.0 gvrp Encapsulation 0 0 0 v2 ge-0/0/0.0 lldp Encapsulation 0 0 0 v2 ge-0/0/0.0 mvrp Encapsulation 0 0 0 v2 ge-0/0/0.0 stp Encapsulation 0 0 0 v2 ge-0/0/0.0 vtp Encapsulation 0 0 0 v2 ge-0/0/0.0 vstp Encapsulation 0 0 0 v2 ge-0/0/1.0 cdp Decapsulation 0 0 0 v2 ge-0/0/1.0 gvrp Decapsulation 0 0 0 v2 ge-0/0/1.0 lldp Decapsulation 0 0 0 v2 ge-0/0/1.0 mvrp Decapsulation 0 0 0 v2 ge-0/0/1.0 stp Decapsulation 0 0 0 v2 ge-0/0/1.0 vtp Decapsulation 0 0 0

