R3303-HP HSR6800 Routers Layer 2 - LAN Switching Configuration Guide

143
Ste
p
Command Remarks
7. Configure the port to allow
packets from its PVID and the
transparent VLANs to pass
through.
For hybrid ports:
port hybrid vlan vlan-id-list
{ tagged | untagged }
For trunk ports:
port trunk permit vlan
{ vlan-id-list | all }
By default, trunk ports allow only
packets from VLAN 1 to pass
through. Hybrid ports allow only
packets from VLAN 1 to pass
through untagged.
8. Enable basic QinQ.
qinq enable
By default, basic QinQ is disabled
on ports.
9. Specify transparent VLANs.
qinq transparent-vlan vlan-list
By default, VLAN transparent
transmission is not configured on a
port.
Configuring selective QinQ
This section describes how to configure selective QinQ.
Configuring an SVLAN tagging policy
You can apply a QoS policy on the customer-side port to map CVLAN IDs to different SVLAN IDs.
Selective QinQ has higher priority than basic QinQ. The customer-side port tags a frame with its PVID
only if the frame does not match the selective QinQ QoS policy. For information about QoS policies, see
ACL and QoS Configuration Guide.
To configure selective QinQ:
Ste
p
Command
Remarks
10. Enter system view.
system-view N/A
11. Create a class and enter
class view.
traffic classifier classifier-name
[ operator { and | or } ]
By default, the operator of a class is
and.
12. Specify CVLAN IDs of
matching frames.
if-match customer-vlan-id vlan-id-list
N/A
13. Return to system view.
quit N/A
14. Create a traffic behavior
and enter traffic behavior
view.
traffic behavior behavior-name N/A
15. Specify an SVLAN ID.
nest top-most vlan-id vlan-id
You can create multiple
class-behavior associations in a
QoS policy. However, you must
make sure one CVLAN ID is
mapped to only one SVLAN ID.