186
•
For VLANs whose packets are to be transparently transmitted through a port, do not configure
VLAN mapping for them on the port. For more information about VLAN mapping, see "
Configuration procedure
To configure VLAN transparent transmission:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view or port
group view.
•
Enter Layer 2 Ethernet interface view
or Layer 2 aggregate interface view:
interface
interface-type
interface-number
•
Enter port group view:
port-group manual
port-group-name
Use either command.
3.
Configure the link type of
the ports.
port link-type
{
hybrid
|
trunk
}
N/A
4.
Configure the ports to allow
packets from its PVID and
the transparent VLANs to
pass through.
•
When the ports are hybrid ports:
port hybrid
vlan
vlan-id-list
{
tagged
|
untagged
}
•
When the ports are trunk ports:
port trunk permit vlan
{
vlan-id-list
|
all
}
Use either command.
5.
Enable basic QinQ on the
ports.
qinq enable
By default, basic QinQ is
disabled on ports.
6.
Configure VLAN
transparent transmission on
the ports.
qinq transparent-vlan
vlan-list
By default, VLAN transparent
transmission is not configured.
Configuring selective QinQ
Configuring an outer VLAN tagging policy
Basic QinQ can only tag received frames with the PVID tag of the receiving port. Selective QinQ allows
adding different outer VLAN tags based on different inner VLAN tags.
The S3600V2 Switch Series achieves the selective QinQ feature through QoS policies. For more
information about QoS policies, see
ACL and QoS Configuration Guide
. To enable the switch to tag
tagged packets based on inner VLAN tags, follow these steps:
1.
Configure a class to match packets with certain tags.
2.
Configure a traffic behavior to tag packets with an outer VLAN tag.
3.
Create a QoS policy and associate the class with the behavior in the policy.
4.
Apply the QoS policy to the port that connects to the user.
To configure selective QinQ:
Step Command
Remarks
1.
Enter system view.
system-view
N/A