R3102-R3103-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Command Reference
147
QinQ configuration commands
The QinQ configuration commands are supported on SAP modules that are operating in bridge mode.
The 6600 and HSR6600 series routers implement selective QinQ through QoS policies. For more
information about QoS policies, see ACL and QoS Command Reference.
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.
nest
Use the nest command 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 the undo nest command to remove the action.
Syntax
nest top-most vlan-id vlan-id
undo nest top-most
Views
Traffic behavior view
Default command level
2: System level
Parameters
top-most: Inserts an outer VLAN tag in VLAN tagged traffic.
vlan-id vlan-id: Specifies the ID of the VLAN tag to be inserted. The value range for the vlan-id argument
is 1 to 4094.
Usage guidelines
The nest action enables a port to insert an inner or outer VLAN tag into VLAN tagged traffic.
If a QoS policy contains a VLAN nest action, apply it only to the incoming traffic of an interface.
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
Use qinq enable to enable basic QinQ on the Ethernet ports.










