- Table of Contents
-
- 03-Layer 2 Command Reference
- 00-Preface
- 01-Ethernet Interface Commands
- 02-Loopback and Null Interface Commands
- 03-VLAN Commands
- 04-MAC Address Table Commands
- 05-Ethernet Link Aggregation Commands
- 06-Spanning Tree Commands
- 07-Layer 2 Forwarding Commands
- 08-PPP Commands
- 09-QinQ Commands
- 10-VLAN Termination Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
09-QinQ Commands | 81.45 KB |
|
NOTE: Throughout this document, customer network VLANs (CVLANs), also called inner VLANs, refer to the VLANs that a customer uses on the private network; and service provider network VLANs (SVLANs), also called outer VLANs, refer to the VLANs that a service provider uses to carry VLAN tagged traffic for customers. |
qinq ethernet-type
Syntax
qinq ethernet-type hex-value
undo qinq ethernet-type
View
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
hex-value: Sets a hexadecimal Tag Protocol Identifier (TPID) value, in the range of 0x0001 to 0xFFFF, excluding the common protocol type values listed in Table 1.
Table 1 Common protocol type values
Protocol type |
Value |
ARP |
0x0806 |
PUP |
0x0200 |
RARP |
0x8035 |
IP |
0x0800 |
IPv6 |
0x86DD |
PPPoE |
0x8863/0x8864 |
MPLS |
0x8847/0x8848 |
IPX/SPX |
0x8137 |
IS-IS |
0x8000 |
LACP |
0x8809 |
802.1X |
0x888E |
Cluster |
0x88A7 |
Reserved |
0xFFFD/0xFFFE/0xFFFF |
Description
Use the qinq ethernet-type command in Layer 2 Ethernet interface view or Layer 2 aggregate interface view to set the TPID value used by Ethernet ports in SVLAN tags.
Use the undo qinq ethernet-type command in Layer 2 Ethernet interface view or Layer 2 aggregate interface view to restore the TPID value in SVLAN tags to the default.
By default, the TPID value in SVLAN tags is 0x8100.
Configured in Layer 2 Ethernet interface view, the command takes effect on the interface only.
Configured in Layer 2 aggregate interface view, the command takes effect on the Layer 2 aggregate interface and all the member ports in the aggregation group.
Support for the qinq ethernet-type command may vary depending on your device model. For more information, see About the WX Series Access Controllers Command References.
Support for Layer 2 aggregate interfaces may vary depending on your device model. For more information, see About the WX Series Access Controllers Command References.
Examples
# Set the TPID value in the SVLAN tags to 0x9100 on Ten-GigabitEthernet 2/0/1.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 2/0/1
[Sysname-Ten-GigabitEthernet2/0/1] qinq ethernet-type 9100