197
Protocol type
Value
Reserved 0xFFFD/0xFFFE/0xFFFF
Configuring the CVLAN TPID
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the TPID value for
CVLAN tags.
qinq ethernet-type
customer-tag
hex-value
The default setting is 0x8100 for
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
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Ethernet interface view
or aggregate interface view.
interface interface-type
interface-number
N/A
3.
Configure the SVLAN TPID.
qinq ethernet-type
service-tag
hex-value
The default setting is 0x8100 for
SVLAN tags.
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 Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a traffic class and
enter traffic class view.
traffic classifier
classifier-name
[
operator
{
and
|
or
} ]
By default, no traffic
class is configured.