To do...
Configure the port as a trunk port
Assign the port to CVLANs and
SVLANs
Enable selective QinQ
Configuring the network-side port
Follow these steps to configure the network-side port:
To do...
Enter system view
Enter Layer 2 Ethernet interface
view
Configure the port as a trunk port
Assign the port to SVLANs
Configuring one-to-one VLAN mapping with port QoS policies
Perform one-to-one VLAN mapping on wiring-closet switches (see
Perform these tasks to configure one-to-one VLAN mapping with port QoS policies:
Task
Configuring an uplink policy
Configuring a downlink policy
Configuring the customer-side port
Configuring the network-side port
Use the command...
port link-type trunk
port trunk permit vlan { vlan-id-list
| all }
qinq enable downlink
Use the command...
system-view
interface interface-type
interface-number
port link-type trunk
port trunk permit vlan { vlan-id-list
| all }
Description
Required
Create CVLAN-to-SVLAN mappings.
Required
Create SVLAN-to-CVLAN mappings.
Required
Configure settings required for one-to-one VLAN mapping.
Required
Configure VLAN settings required for normal communication.
156
Remarks
Required
The default link type of an Ethernet
port is access.
Required
By default, a trunk port belongs to
VLAN 1 only.
Required
By default, selective QinQ is
disabled.
The global QoS policies are
effective on ports with selective
QinQ enabled.
Remarks
—
—
Required
The default link type of ports is
access.
Required
By default, a trunk port belongs to
VLAN 1 only.
Figure
49).