display qinq statistics

Function

The display qinq statistics command displays QinQ packet statistics.

Format

display qinq statistics [ interface { interface-type interface-number | interface-name } [ vlan-group group-id ] ] [ verbose ]

Parameters

Parameter Description Value
interface-type

Specifies the name of an interface.

-

interface-number

Specifies the type of an interface.

-

interface-name

Specifies the number of an interface.

-

vlan-group group-id

Displays QinQ packet statistics of a specified VLAN group.

The value is an integer ranging from 1 to 16.

verbose

Displays detailed QinQ packet statistics.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
ethernet read

Usage Guidelines

Usage Scenario

After a sub-interface for Dot1q VLAN tag termination, sub-interface for QinQ VLAN tag termination, or QinQ stacking sub-interface is configured on a device to transmit L3VPN or IP services, run the display qinq statistics command to check QinQ packet statistics. With this information, you can determine whether the sub-interface is functioning and locate faults.

Prerequisites

The function to collect QinQ packet statistics has been enabled using the statistic enable (VLAN group view) command in the VLAN group view.

A sub-interface for Dot1q VLAN tag termination, QinQ VLAN tag termination, or QinQ stacking sub-interface has been bound to a VLAN group using the dot1q termination vid, qinq termination pe-vid ce-vid , or qinq stacking vid command, respectively.

Precautions

If the VLAN group is configured to work in single mode using the group mode command, the system cannot collect QinQ packet statistics based on the inner and outer VLAN tags. Run the group mode command to configure the VLAN group to work in multiple mode. After that, you can run the display qinq statistics command to view the QinQ packet statistics.

If many QinQ packet statistics exist, specify interface-type interface-number in the display qinq statistics command to filter the information.

Example

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

# Display detailed QinQ packet statistics on Eth-Trunk 10.9, with the outer and inner VLAN IDs of 400.
<HUAWEI> display qinq statistics interface Eth-Trunk 10.9 vid 400 ce-vid 400
Eth-Trunk 10.9 Tag vid=400/400
    QinQ termination tag:400/400
      Statistics on slot type:
      0 Packets received, 0 bytes
      0 Packets transmitted, 0 bytes
    QinQ termination tag:400/400
      Statistics on VRP:
      0 Packets received, 0 bytes
      0 Packets transmitted, 0 bytes
# Display QinQ packet statistics of user VLAN group 5 on GE 0/1/1.3.
<HUAWEI> display qinq statistics interface gigabitethernet 0/1/1.3 vlan-group 5 verbose
GigabitEthernet0/1/1.3 vlan-group[5]:Multiple
    Dot1q termination tag:10
      Statistics on slot type:
      0 Packets received, 0 bytes
      0 Unicast Packets received
      0 Broadcast Packets received
      0 Multicast Packets received
      0 Packets transmitted, 0 bytes
      0 Unicast Packets transmitted
      0 Broadcast Packets transmitted
      0 Multicast Packets transmitted
    Dot1q termination tag:10
      Statistics on VRP:
      0 Packets received, 0 bytes
      0 Error Packets received
      0 Packets transmitted, 0 bytes
      0 Error Packets transmitted
    Total statistics for QinQ on slot type:
      0 Packets received, 0 bytes
      0 Packets transmitted, 0 bytes
    Total statistics for QinQ on VRP:
      0 Packets received, 0 bytes
      0 Packets transmitted, 0 bytes
# Display QinQ packet statistics on the device.
<HUAWEI> display qinq statistics
Eth-Trunk10.9 vlan-group[3]:Multiple
    QinQ termination tag:400/400
      Statistics on slot type:
      0 Packets received, 0 bytes
      0 Packets transmitted, 0 bytes
    QinQ termination tag:400/400
      Statistics on VRP:
      0 Packets received, 0 bytes
GigabitEthernet0/1/1.1 vlan-group[1]:Single
    Stacking tag:100-200
      Statistics on slot type:
      0 Packets received, 0 bytes
      0 Packets transmitted, 0 bytes
    Stacking tag:100-200
      Statistics on VRP:
      0 Packets received, 0 bytes
      0 Packets transmitted, 0 bytes
    Total statistics for QinQ on slot type:  
      0 Packets received, 0 bytes
      0 Packets transmitted, 0 bytes
    Total statistics for QinQ on VRP:
      0 Packets received, 0 bytes 
      0 Packets transmitted, 0 bytes
Table 1 Description of the display qinq statistics command output
Item Description
Eth-Trunk 10.9 Tag vid

Name of the sub-interface for QinQ VLAN tag termination and VLAN IDs in both inner and outer tags of QinQ packets.

The left of "/" shows the outer tag (pe-vid); the right of "/" shows the inner tag (ce-vid).

QinQ termination tag

This field can be:Dot1q termination tag. It identifies the VLAN range terminated by a sub-interface for Dot1q VLAN tag termination if Dot1q termination is configured using the dot1q termination vid command.QinQ termination tag. It identifies the VLAN range terminated by a sub-interface for QinQ VLAN tag termination if QinQ termination is configured using the qinq termination pe-vid ce-vid command.The left of "/" shows the outer tag (pe-vid); the right of "/" shows the inner tag (ce-vid).Stacking tag. It identifies the VLAN range added to the outer tag of packets by the QinQ stacking sub-interface if QinQ stacking is configured using the qinq stacking vid command.

Statistics on slot type

Statistics about QinQ packets on interface boards.

Statistics on VRP

Statistics about QinQ packets on the VRP. Packets that are sent to the CPU for processing.

0 Packets received

Number of received QinQ packets.

It is the total number of received unicast packets, broadcast packets, and multicast packets.

0 Unicast Packets received

Number of received unicast QinQ packets.

0 Broadcast Packets received

Number of received broadcast QinQ packets.

0 Multicast Packets received

Number of received multicast QinQ packets.

0 Packets transmitted

Number of sent QinQ packets.

It is the total number of sent unicast packets, broadcast packets, and multicast packets.

0 Unicast Packets transmitted

Number of sent unicast QinQ packets.

0 Broadcast Packets transmitted

Number of sent broadcast QinQ packets.

0 Multicast Packets transmitted

Number of sent multicast QinQ packets.

0 Error Packets received

Number of received error packets.

0 Error Packets transmitted

Number of sent error packets.

Total statistics for QinQ on slot type

Statistics about QinQ packets on interface boards based on VLAN groups.

Eth-Trunk10.9 vlan-group[3]

Name of the sub-interface, name and mode of the VLAN group to which the sub-interface belong.

The VLAN group mode can be:Single: The VLAN group is considered to be one user.Multiple: The VLAN group is considered to be multiple users.

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