R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference

149
QinQ configuration commands
The QinQ configuration commands are supported on SAP modules that are operating in bridge mode.
The HSR6800 series routers implement selective QinQ through QoS policies. For more information about
QoS policies, see ACL and QoS Command Reference.
This document uses the following terms:
CVLAN—Customer network VLANs, also called "inner VLANs," refer to VLANs that a customer
uses on the private network.
SVLAN—Service provider network VLANs, also called "outer VLANs," refer to VLANs that a service
provider uses to transmit VLAN tagged traffic for customers.
nest
Use the nest command to configure a nest action to add an SVLAN tag to matching traffic.
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: Adds an SVLAN tag.
vlan-id vlan-id: Specifie a VLAN tag ID in the range of 1 to 4094.
Usage guidelines
A traffic behavior can contain only one nest action. If the traffic behavior already contains a nest action,
the new tag overwrites the old tag.
For this action to take effect, you must do the following:
Enable basic QinQ on the port to which the action will be applied.
Apply the QoS policy to the inbound direction of the port.
The nest action cannot be applied to VLANs or globally.
Examples
# Create a nest action in the traffic behavior b1 to add the SVLAN tag 123.
<Sysname> system-view
[Sysname] traffic behavior b1
[Sysname-behavior-b1] nest top-most vlan-id 123