181
QinQ configuration commands
•
Throughout this document, customer network VLANs (CVLANs), also called inner VLANs, refer
to the VLANs that a customer uses on the private network; and service provider network VLANs
(SVLANs), also called outer VLANs, refer to the VLANs that a service provider uses to carry
VLAN tagged traffic for customers.
•
Selective QinQ is achieved through QoS policies. For more information about QoS policy
configuration commands, see
ACL and QoS Command Reference
.
nest (available only on the HPE 3100 v2 EI)
Syntax
nest
top-most
vlan-id vlan-id
undo nest top-most
View
Traffic behavior view
Default level
2: System level
Parameters
top-most
: Inserts an outer VLAN tag in VLAN tagged traffic.
vlan-id vlan-id
: Specifies a VLAN tag ID, ranging from 1 to 4094.
Description
Use
nest
to add a VLAN nest action to a traffic behavior. If the traffic behavior already contains a
VLAN nest action, the new one overwrites the old one.
Use
undo nest
to remove the action.
If a QoS policy contains a VLAN nest action, apply it only to the incoming traffic of a port.
Examples
# Create traffic behavior
b1
, and add the action of inserting outer VLAN tag 123.
<Sysname> system-view
[Sysname] traffic behavior b1
[Sysname-behavior-b1] nest top-most vlan-id 123
qinq enable
Syntax
qinq enable
undo qinq enable
View
Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view
Default level
2: System level