R0106-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V7)
80
QinQ commands
QinQ commands are supported only on the HMIM 24GSW, HMIM 24GSW-PoE, and HMIM 8GSW
interface modules.
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: 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 GigabitEthernet 2/1/1. Then, verify that QinQ is enabled on the interface.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] qinq enable
[Sysname-GigabitEthernet2/1/1] display qinq interface gigabitethernet 2/1/1
Interface
GigabitEthernet2/1/1
# Enable QinQ on GigabitEthernet 2/1/1 and GigabitEthernet 2/1/3. Then, verify that QinQ is
enabled on the interfaces.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] qinq enable
[Sysname-GigabitEthernet2/1/1] quit
[Sysname] interface gigabitethernet 2/1/3










