R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference
159
VLAN mapping configuration commands
The commands in this chapter are supported on SAP modules that are operating in bridge mode.
nest
Use nest to add a VLAN nest action to a traffic behavior.
Use undo nest 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 a VLAN tag ID in the range of 1 to 4094.
Usage guidelines
The nest action enables a port to insert an inner or outer VLAN tag in VLAN tagged traffic.
If the traffic behavior already contains a VLAN nest action, the new one overwrites the old one.
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 downlink
Use qinq enable downlink to enable customer-side QinQ on an Ethernet port.
Use undo qinq enable to disable customer-side QinQ on an Ethernet port.
Syntax
qinq enable downlink
undo qinq enable
Default
Customer-side QinQ is disabled on Ethernet ports.