Setting the TPID value in VLAN tags
To set the TPID value in outer VLAN tags:
Step
1.
Enter system view.
2.
Enter interface view or
port group view.
3.
Set the TPID value in
outer VLAN tags.
NOTE:
To change a non-default TPID value to another non-default TPID value, you must first restore the default
TPID value (0x8100) on an SPE card, but you can directly change the TPID value on an SPC card.
Basic QinQ configuration example
Network requirements
As shown in
•
The two branches of Company A, Site 1 and Site 2, are connected through the service provider
network and use CVLANs 10 through 70. The two branches of Company B, Site 3 and Site 4, are
connected through the service provider network and use CVLANs 30 through 90.
PE 1 and PE 2 are edge devices on the service provider network and are connected through
•
third-party devices with a TPID value of 0x8200.
Configure the edge and third-party devices to enable communication between the branches of Company
A through SVLAN 100, and communication between the branches of Company B through SVLAN 200.
Command
system-view
•
Enter Layer 2 Ethernet interface view or
Layer 2 aggregate interface view:
interface interface-type interface-number
•
Enter port group view:
port-group manual port-group-name
qinq ethernet-type hex-value
Figure
35:
99
Remarks
N/A
Use either command.
Optional.
The default setting is 0x8100.