To do...
Enter the
Ethernet port
view of the
customer
network-side
port
Enable basic QinQ
Apply the QoS policy in the
inbound direction
Before enabling selective QinQ on a port, enable basic QinQ on the port first. Selective QinQ
enjoys higher priority than basic QinQ. Therefore, a received frame will be tagged with an outer
VLAN ID based on basic QinQ only after it fails to match the match criteria defined in the traffic
class.
Selective QinQ is achieved through QoS policies. For detailed information about QoS policies,
refer to the part talking about QoS in the QoS Volume.
Configuring the TPID of a VLAN Tag
Follow these steps to configure the TPID value of a VLAN tag:
To do...
Enter system view
Configure the TPID in the
customer network VLAN
tags
Use the command...
Enter Ethernet
interface interface-type
port view
interface-number
Enter Layer-2
interface bridge-aggregation
aggregate
interface-number
interface view
port-group { manual
Enter port
port-group-name |
group view
aggregation agg-id }
qing enable
qos apply policy policy-name
inbound
Use the command...
system-view
qinq ethernet-type
customer-tag hex-value
Required
Use either command.
Required
Required
—
Optional
0x8100 by default.
1-8
Remarks
Settings made in Ethernet
interface view take effect
only on the current port.
Settings made in Layer-2
aggregate
interface
take effect on the Layer-2
aggregate interface and the
member
ports
in
aggregation
group
corresponding
to
Layer-2 aggregate interface.
Settings made in port group
view take effect on all ports
in the port group.
Remarks
view
the
the