< Home

display qinq information

Function

The display qinq information command displays the configuration of all the sub-interfaces configured with QinQ termination, QinQ stacking, or QinQ mapping.

Format

display qinq information { termination | stacking | mapping } [ interface interface-type interface-number [.subinterface-number ] ]

Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this configuration.

Parameters

Parameter Description Value

termination

Displays all the sub-interfaces configured with QinQ termination.

-

stacking

Displays all the sub-interfaces configured with QinQ stacking.

-

mapping

Displays all the sub-interfaces configured with QinQ mapping.

-

interface interface-type interface-number

Displays whether all the sub-interfaces of the specified main interface are configured with QinQ termination, QinQ stacking, or QinQ mapping.

interface-type specifies the interface type.

interface-number specifies the number of the main interface.

-

subinterface-number

Specifies the number of a sub-interface.

The value is an integer that ranges from 1 to 4096.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After configuring QinQ termination, QinQ stacking, and QinQ mapping, run the display qinq information command to view the configuration and the sub-interfaces configured with these functions.

When a large number of QinQ termination, QinQ stacking, and QinQ mapping entries are configured, it is recommended that you specify a QinQ function, a main interface, a sub-interface, or a pipe operator (|) to filter the output. Otherwise, too much information is displayed, which has the following negative effects:

  • The displayed information is updated continuously on the display terminal and the required information cannot be obtained.

  • The system traverses and retrieves information for a long time. As a result, the system does not respond to any request.

When using this command, note the following points:

  • If you specify only termination in the command, all sub-interfaces configured with QinQ termination are displayed.

  • If you specify termination and interface interface-type interface-number, the sub-interface configured with QinQ termination on the specified main interface is displayed.

  • If you specify termination and interface interface-type interface-number.subinterface-number, the specified sub-interface configured with QinQ termination is displayed.

  • If you specify only stacking in the command, all sub-interfaces configured with QinQ stacking are displayed.

  • If you specify stacking and interface interface-type interface-number, the sub-interface configured with QinQ stacking on the specified main interface is displayed.

  • If you specify stacking and interface interface-type interface-number.subinterface-number, the specified sub-interface configured with QinQ stacking is displayed.

  • If you specify only mapping in the command, all sub-interfaces configured with QinQ mapping are displayed.

  • If you specify mapping and interface interface-type interface-number, the sub-interface configured with QinQ mapping on the specified main interface is displayed.

  • If you specify mapping and interface interface-type interface-number.subinterface-number, the specified sub-interface configured with QinQ mapping is displayed.

Example

# Display all the sub-interfaces configured with QinQ termination.

<HUAWEI> display dot1q information termination
  XGigabitEthernet0/0/1.30
    Total QinQ Num: 1
    qinq termination pe-vid 300 ce-vid 200
    Total vlan-group Num: 0

# Display all the sub-interfaces configured with QinQ stacking.

<HUAWEI> display qinq information stacking
  XGigabitEthernet0/0/1.4
    Total QinQ Num: 1
      qinq stacking vid 25 pe-vid 35
    Total vlan-group Num: 0

# Display all the sub-interfaces configured with QinQ mapping.

<HUAWEI>display qinq information mapping
  XGigabitEthernet0/0/1.5
    Total QinQ Num: 1
      qinq mapping vid 55 map-vlan vid 65
    Total vlan-group Num: 0
Table 1 Description of the display qinq information command output

Item

Description

XGigabitEthernet0/0/1.30

Sub-interface name.

Total QinQ Num

Number of QinQ entries configured for user packets on a sub-interface.

Total vlan-group Num

Number of VLAN groups configured on a sub-interface.

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