NOTE:
•
QinQ requires configurations only on the service provider network.
•
QinQ configurations made in Ethernet interface view take effect on the current interface only. Those
made in Layer 2 aggregate interface view take effect on the current aggregate interface and all the
member ports in the aggregation group. Those made in port group view take effect on all member ports
in the current port group.
Enabling basic QinQ
A basic QinQ-enabled port tags an incoming packet with its PVID.
Follow these steps to enable basic QinQ:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter Layer 2 Ethernet
interface view or Layer 2
aggregate interface view
interface
interface-type
interface-number
Enter interface
view or port
group view
Enter port group view
port-group manual
port-group-name
Required
Use either command.
Enable basic QinQ
qinq enable
Required
Disabled by default.
Configuring selective QinQ (available only on the
A3100 v2 EI)
Basic QinQ can only tag received frames with the PVID of the receiving port. Selective QinQ allows
adding different outer VLAN tags based on different inner VLAN tags.
You can configure an outer VLAN tagging policy in one of the following approaches:
•
Port-based approach
•
QoS policy-based approach
Configuring an outer VLAN tagging policy in the port-based
approach
Follow these steps to configure an outer VLAN tagging policy in the port-based approach:
To do...
Use the command...
Remarks
Enter system view
system-view
—
140