display l2protocol statistics

Use display l2protocol statistics to display Layer 2 Protocol Tunneling (L2PT) statistics.

Syntax

display l2protocol statistics [ interface interface-type interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

interface interface-type interface-number: Specifies a Layer 2 Ethernet or aggregate interface by its type and number. If you do not specify this option, the command displays L2PT statistics for all Layer 2 Ethernet and aggregate interfaces.

Examples

# Display L2PT statistics for all Layer 2 Ethernet and aggregate interfaces.

<Sysname> display l2protocol statistics
L2PT statistics information on interface Bridge-Aggregation1:
Protocol  Encapsulated      Decapsulated      Forwarded         Dropped
CDP       0                 0                 0                 0
DLDP      0                 3                 0                 0
EOAM      0                 2                 0                 0
GVRP      8                 4                 9                 2
LACP      0                 0                 0                 0
LLDP      0                 3                 0                 0
MVRP      0                 0                 0                 0
PAGP      0                 1                 0                 0
PVST      0                 0                 0                 0
STP       5                 5                 5                 0
Tunnel    N/A               N/A               100               10
VTP       0                 6                 0                 0
UDLD      0                 0                 0                 0

L2PT statistics information on interface Ten-GigabitEthernet1/0/1:
Protocol  Encapsulated      Decapsulated      Forwarded         Dropped
CDP       0                 0                 0                 0
DLDP      2                 3                 3                 0
EOAM      5                 2                 9                 0
GVRP      8                 4                 9                 2
LACP      0                 0                 0                 0
LLDP      3                 3                 3                 3
MVRP      0                 0                 0                 0
PAGP      5                 1                 7                 3
PVST      0                 0                 0                 0
STP       5                 5                 5                 0
Tunnel    N/A               N/A               100               10
VTP       0                 6                 0                 0
UDLD      0                 0                 0                 0

Table 50: Command output

Field

Description

Encapsulated

Number of encapsulated packets.

The number increases by 1 when the interface receives and encapsulates a protocol packet from a customer network.

For protocol Tunnel, which represents tunneled packets, this field displays N/A.

Decapsulated

Number of decapsulated packets.

The number increases by 1 when the interface receives and decapsulates a tunneled packet from the service provider network.

For protocol Tunnel, which represents tunneled packets, this field displays N/A.

Forwarded

Number of forwarded packets.

The number increases by 1 when the interface receives a protocol packet and forwards it.

The number increases by 1 for protocol Tunnel when the interface receives a tunneled packet and forwards it. If no interface of the PE is connected to customer networks, the number does not increase.

Dropped

Number of dropped packets.

The number increases by 1 when the interface receives a protocol packet and drops it. Protocol packets dropped by hardware are not counted.

The number increases by 1 for protocol Tunnel when the interface receives a tunneled packet and drops it.