Configuring The Tpid Value In Vlan Tags; Qinq Configuration Examples; Basic Qinq Configuration Example - H3C S5120-SI series Configuration Manual

Hide thumbs Also See for S5120-SI series:
Table of Contents

Advertisement

To do...
Enter QinQ view and configure the
outer VLAN tag for the port to add
Tag frames of specific inner VLANs
with the outer VLAN
CAUTION:
An inner VLAN tag corresponds to only one outer VLAN tag.
If you want to change the outer VLAN tag, you must delete the old outer VLAN tag configuration and
configure a new outer VLAN tag.

Configuring the TPID value in VLAN tags

Follow these steps to configure the TPID value:
To do...
Enter system view
Enter interface
view or port
group view
Configure the TPID value in the VLAN tag
NOTE:
The TPID value configured on the S5120-SI Switch Series applies to both the CVLAN tags and the SVLAN
tags.

QinQ configuration examples

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 switches on the service provider network and are connected through
third-party devices with a TPID value of 0x8200.
Enter Layer 2 Ethernet
interface view or Layer 2
aggregate interface view
Enter port group view
Figure
47:
Use the command...
qinq vid vlan-id
raw-vlan-id inbound { all |
vlan-list }
Use the command...
system-view
interface interface-type
interface-number
port-group manual
port-group-name
qinq ethernet-type hex-value
149
Remarks
Required
By default, the default VLAN tag
of the receiving port is added as
the outer VLAN tag.
Required
Remarks
Required
Use either command.
Optional
0x8100 by default

Advertisement

Table of Contents
loading

Table of Contents