R3303-HP HSR6800 Routers Layer 2 - LAN Switching Configuration Guide

142
Configuring basic QinQ
This section describes how to configure basic QinQ.
Enabling basic QinQ
Enable QinQ on the customer-side port.
A basic QinQ-enabled port tags an incoming packet with its PVID tag.
To enable basic QinQ:
Ste
p
Command Remarks
1. Enter system view.
system-view N/A
2. Enter interface view or port
group view.
Enter Layer 2 Ethernet or Layer
2 aggregate interface view:
interface interface-type
interface-number
Enter port group view:
port-group manual
port-group-name
N/A
3. Enable basic QinQ.
qinq enable By default, basic QinQ is disabled.
Configuring VLAN transparent transmission
When basic QinQ is enabled on a port, all packets passing through the port are tagged with the port's
PVID tag. You can exclude a VLAN (for example, the management VLAN) from the QinQ tagging action.
This VLAN is called a "transparent VLAN."
To ensure successful transmissions for a transparent VLAN, follow these configuration guidelines:
Set the link type of the port to trunk or hybrid, and assign the port to the transparent VLAN.
Make sure all ports on the traffic path permit the transparent VLAN to pass through.
Do not configure VLAN mapping for the transparent VLAN on the port. For more information about
VLAN mapping, see "Configuring VLAN mapping."
To enable transparent transmission for a list of VLANs:
Ste
p
Command Remarks
4. Enter system view.
system-view N/A
5. Enter interface view or port
group view.
Enter Layer 2 Ethernet or Layer
2 aggregate interface view:
interface interface-type
interface-number
Enter port group view:
port-group manual
port-group-name
N/A
6. Configure the link type of the
port.
port link-type { hybrid | trunk } The default link type is access.