
201
Step Command
Remarks
12.
Configure the port to trust
the 802.1p priority in
incoming frames.
qos trust dot1p
By default, the device
does not trust the 802.1p
priority carried in frames.
Skip this step if the
remark dot1p
customer-dot1p-trust
command is configured.
13.
Enable QinQ.
qinq enable
N/A
14.
Apply the QoS policy to the
inbound direction of the
port.
qos apply policy
policy-name
inbound
N/A
For more information about QoS policies, see
ACL and QoS Configuration Guide
.
Displaying and maintaining QinQ
Execute the
display
command in any view.
Task
Command
Display QinQ-enabled ports.
display qinq
[
interface
interface-type
interface-number
]
QinQ configuration example
Network requirements
As shown in
:
•
The service provider assigns VLAN 100 to Company A's VLANs 10 through 70.
•
The service provider assigns VLAN 200 to Company B's VLANs 30 through 90.
•
The devices between PE 1 and PE 2 in the service provider network use a TPID value of 0x8200.
Configure QinQ on PE 1 and PE 2 to transmit traffic of Company A and Company B in VLANs 100 and
200, respectively.
For the QinQ frames to be identified correctly, set the SVLAN TPID to 0x8200 on the service provider-side
ports of PE 1 and PE 2.