display qinq

Use display qinq to display the QinQ-enabled interfaces.

Syntax

display qinq [ interface interface-type interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, this command displays all QinQ-enabled interfaces.

Usage guidelines

If QinQ is not enabled on any interfaces, this command does not provide any output.

Examples

# Enable QinQ on Ten-GigabitEthernet 1/0/1. Then, verify that QinQ is enabled on the interface.

<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] qinq enable
[Sysname-Ten-GigabitEthernet1/0/1] display qinq interface ten-gigabitethernet 1/0/1
Interface
 Ten-GigabitEthernet1/0/1

# Enable QinQ on Ten-GigabitEthernet 1/0/1 and Ten-GigabitEthernet 1/0/3. Then, verify that QinQ is enabled on the interfaces.

<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] qinq enable
[Sysname-Ten-GigabitEthernet1/0/1] quit
[Sysname] interface ten-gigabitethernet 1/0/3
[Sysname-Ten-GigabitEthernet1/0/3] qinq enable
[Sysname-Ten-GigabitEthernet1/0/3] display qinq
Interface
 Ten-GigabitEthernet1/0/1
 Ten-GigabitEthernet1/0/3

Table 56: Command output

Field

Description

Interface

Interface name.

Ten-GigabitEthernet1/0/1

QinQ-enabled interface.

Related commands

qinq enable