Protocol type
Reserved
Configuring the CVLAN TPID
Step
Enter system view.
1.
Configure the TPID value for
2.
CVLAN tags.
Configuring the SVLAN TPID
When you configure the SVLAN ID, follow these restrictions and guidelines:
•
Configure the SVLAN TPID on service provider-side ports of PEs.
•
Do not configure the SVLAN TPID on a QinQ-enabled port.
To configure the SVLAN TPID:
Step
Enter system view.
1.
Enter Ethernet interface view
2.
or aggregate interface view.
Configure the SVLAN TPID.
3.
Setting the 802.1p priority in SVLAN tags
By default, a QinQ-enabled port sets the 802.1p priority in the SVLAN tag depending on the priority
trust mode.
•
If the 802.1p priority is trusted, the port copies the 802.1p priority in the CVLAN tag to the
SVLAN tag.
•
If port priority is trusted, the port sets the 802.1p priority in the SVLAN to be the same as the port
priority. The default port priority is 0.
Alternatively, you can configure a QoS policy to set the 802.1p priority in the SVLAN by using one of
the following methods:
•
Sets an 802.1p priority value in the SVLAN tag depending on the VLAN ID or 802.1p priority in
the CVLAN tag.
•
Copies the 802.1p priority in the CVLAN tag to the SVLAN tag.
To set the 802.1p priority in SVLAN tags:
Step
Enter system view.
1.
Create a traffic class and
2.
enter traffic class view.
Value
0xFFFD/0xFFFE/0xFFFF
Command
system-view
qinq
ethernet-type
customer-tag hex-value
Command
system-view
interface
interface-type
interface-number
qinq ethernet-type service-tag
hex-value
Command
system-view
traffic classifier classifier-name [ operator
{ and | or } ]
197
Remarks
N/A
The default setting is 0x8100 for
CVLAN tags.
Remarks
N/A
N/A
The default setting is 0x8100 for
SVLAN tags.
Remarks
N/A
By default, no traffic
class is configured.