The display l2protocol-tunnel statistics command displays statistics about tunneled Layer 2 protocol data units (PDUs) on an interface.
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:
One or up to all of the preceding Layer 2 protocols can be specified. |
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:
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 actual command output varies according to the device. The command output here is only an example.
<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
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. |