display qinq

Use display qinq to display 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 HundredGigE 1/0/1. Then, verify that QinQ is enabled on the interface.

<Sysname> system-view
[Sysname] interface hundredgige 1/0/1
[Sysname-HundredGigE1/0/1] qinq enable
[Sysname-HundredGigE1/0/1] display qinq interface hundredgige 1/0/1
Interface
 HundredGigE1/0/1

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

<Sysname> system-view
[Sysname] interface hundredgige 1/0/1
[Sysname-HundredGigE1/0/1] qinq enable
[Sysname-HundredGigE1/0/1] quit
[Sysname] interface hundredgige 1/0/3
[Sysname-HundredGigE1/0/3] qinq enable
[Sysname-HundredGigE1/0/3] display qinq
Interface
 HundredGigE1/0/1
 HundredGigE1/0/3

Related commands

qinq enable