Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    show ethernet-switching layer2-protocol-tunneling statistics

    Syntax

    show ethernet-switching-layer2-protocol-tunneling statistics<interface interface-name><vlan vlan-name>

    Release Information

    Command introduced in Junos OS Release 11.1 for QFX Series switches.

    Description

    Display Layer 2 Protocol Tunneling (L2PT) statistics.

    Options

    none

    Displays Layer 2 Protocol Tunneling (L2PT) statistics for all interfaces on which you enabled L2PT.

    <interface interface-name>

    (Optional) Displays L2PT statistics for the specified interface.

    <vlan vlan>

    (Optional) Displays L2PT statistics for the specified VLAN.

    Required Privilege Level

    view

    List of Sample Output

    show ethernet-switching layer2-protocol-tunneling statistics
    show 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

    Field Name

    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 cdp, gvrp, lldp, mvrp, stp, vstp, or 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 statistics
    Layer2 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.0
    Layer2 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 v2
    Layer2 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
    

    Modified: 2016-12-16