To do...
Use the command...
Remarks
Enter Ethernet
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.
Enter QinQ view and configure the
SVLAN tag for the port to add
qinq vid
vlan-id
Required
By default, the SVLAN tag to be
added is the PVID of the receiving
port.
Tag frames of the specified CVLANs
with the current SVLAN
raw-vlan-id inbound
{
all
|
vlan-list
}
Required
CAUTION:
•
An inner VLAN tag corresponds to only one outer VLAN tag.
•
To change an outer VLAN tag, you must delete the old outer VLAN tag configuration and configure a
new outer VLAN tag.
Configuring an outer VLAN tagging policy in the QoS
policy-based approach
You can configure an outer VLAN tagging policy on the A3100 v2 EI Switch Series in the QoS
policy-based approach.
Configure an outer VLAN tagging policy in the QoS policy-based approach in the following workflow:
•
Configure a class to match packets with certain tags.
•
Configure a traffic behavior to tag packets with an outer VLAN tag.
•
Create a QoS policy, associate the class with the behavior in the policy, and globally apply the
policy.
•
Enable selective QinQ on the port that connects to the user.
Follow these steps to configure an outer VLAN tagging policy in the QoS policy-based approach:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Create a class and enter class view
traffic classifier
classifier-name
[
operator
{
and
|
or
} ]
Required
By default, the operator of a class
is AND.
Specify the inner VLAN IDs of
matching frames
if-match customer-vlan-id
vlan-id-list
Required
Return to system view
quit
—
Create a traffic behavior and enter
traffic behavior view
traffic behavior
behavior-name
Required
Specify an outer VLAN ID
nest top-most vlan-id
vlan-id
Required
141