display l2protocol-tunnel statistics

Function

The display l2protocol-tunnel statistics command displays statistics about tunneled Layer 2 protocol data units (PDUs) on an interface.

Format

display l2protocol-tunnel statistics { interface-type interface-number | interface-name } [ { protocol } &<1-19> ]

Parameters

Parameter Description Value
interface-type

Specifies the interface type.

The value is a string of 1 to 63 case-insensitive characters, spaces not supported.

interface-number

Specifies the interface number.

-

interface-name

Specifies the interface name.

The value is a string of 1 to 63 case-insensitive characters, spaces not supported.

protocol

Displays statistics about tunneled Layer 2 PDUs of a specified protocol on an interface.

The protocol as follows:

  • stp
  • lacp
  • dtp
  • gmrp
  • gvrp
  • lldp
  • vtp
  • udld
  • pagp
  • cdp
  • eoam3ah
  • dldp
  • mvrp
  • mmrp
  • e-lmi
  • sstp

One or up to all of the preceding Layer 2 protocols can be specified.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
ethernet read

Usage Guidelines

Usage Scenario

After you configure Layer 2 protocol tunneling, run the display l2protocol-tunnel statistics command to view statistics about tunneled Layer 2 PDUs on an interface. The statistics include:

  • Number of incoming Layer 2 PDUs
  • Number of outgoing Layer 2 PDUs
  • Number of dropped Layer 2 PDUs that exceed the configured drop threshold

    The proceeding statistics serve as a reference for traffic statistics and fault diagnosis.

Precautions

When tunneling is enabled on an interface for more than one Layer 2 protocol, specifying protocol or user-defined-protocol in this command is recommended. Otherwise, the following problems may occur due to excessive output information:

  • The output information is repeatedly refreshed, and therefore it is difficult to locate your desired information.
  • The system fails to respond to other requests because it is busy searching information.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display statistics about tunneled STP BPDUs.
<HUAWEI> display l2protocol-tunnel statistics GigabitEthernet 0/1/1 stp
-------------------------------------------------------------------
Port      Protocol Input   Output  Drop
                   Packets Packets Packets 
-------------------------------------------------------------------
GE0/1/1   stp      12345   67890   1235
Table 1 Description of the display l2protocol-tunnel statistics command output
Item Description
Port

Name of the interface enabled with Layer 2 protocol tunneling.

Protocol

Tunneled Layer 2 protocol name.

Input Packets

Number of incoming Layer 2 PDUs on an interface enabled with Layer 2 protocol tunneling.

Output Packets

Number of outgoing Layer 2 PDUs on an interface enabled with Layer 2 protocol tunneling.

Drop Packets

Number of dropped Layer 2 PDUs that exceed the configured drop threshold on the inbound interface.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >