QinQ commands
This document uses the following terms:
CVLAN—Customer network VLANs, also called "inner VLANs," refer to VLANs that a customer
•
uses on the private network.
SVLAN—Service provider network VLANs, also called "outer VLANs," refer to VLANs that a service
•
provider uses to transmit VLAN tagged traffic for customers.
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: Displays whether QinQ is enabled on an interface specified
by its type and number. If no interface is specified, this command displays all QinQ-enabled interfaces.
Usage guidelines
If QinQ is not enabled on any interface, this command does not provide any output.
Examples
# Enable QinQ on interface FortyGigE 1/1/1. Then verify whether QinQ is enabled on the interface.
<Sysname> system-view
[Sysname] interface fortygige 1/1/1
[Sysname-FortyGigE1/1/1] qinq enable
[Sysname-FortyGigE1/1/1] display qinq interface fortygige 1/1/1
Interface
FortyGigE1/1/1
# Enable QinQ on interfaces FortyGigE 1/1/1 and FortyGigE 1/1/3. Then display all QinQ-enabled
interfaces.
<Sysname> system-view
[Sysname] interface fortygige 1/1/1
[Sysname-FortyGigE1/1/1] qinq enable
[Sysname-FortyGigE1/1/1] quit
[Sysname] interface fortygige 1/1/3
[Sysname-FortyGigE1/1/3] qinq enable
[Sysname-FortyGigE1/1/3] display qinq
163