Configuring Selective Qinq; Configuring An Outer Vlan Tagging Policy - HP 6125G Configuration Manual

Layer 2 - lan switching
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

Step
1.
Enter system view.
2.
Enter Layer 2 Ethernet
interface view or Layer 2
aggregate interface view.
3.
Configure the link type of
the ports.
4.
Configure the ports to allow
packets from its PVID and
the transparent VLANs to
pass through.
5.
Enable basic QinQ on the
ports.
6.
Configure VLAN
transparent transmission on
the ports.

Configuring selective QinQ

Configuring an outer VLAN tagging policy

Basic QinQ can only tag received frames with the PVID tag of the receiving port. Selective QinQ allows
adding different outer VLAN tags based on different inner VLAN tags.
The Switch Series achieves the selective QinQ feature through QoS policies. For more information about
QoS policies, see ACL and QoS Configuration Guide. To enable the switch to tag tagged packets based
on inner VLAN tags, follow these steps:
Configure a class to match packets with certain tags.
1.
Configure a traffic behavior to tag packets with an outer VLAN tag.
2.
Create a QoS policy and associate the class with the behavior in the policy.
3.
Apply the QoS policy to the port that connects to the user.
4.
To configure selective QinQ:
Step
1.
Enter system view.
2.
Create a class and enter class
view.
3.
Specify the inner VLAN IDs of
matching frames.
Return to system view.
4.
5.
Create a traffic behavior and
enter traffic behavior view.
6.
Specify an outer VLAN ID.
Command
system-view
interface interface-type interface-number
port link-type { hybrid | trunk }
When the ports are hybrid ports:
port hybrid vlan vlan-id-list { tagged |
untagged }
When the ports are trunk ports:
port trunk permit vlan { vlan-id-list |
all }
qinq enable
qinq transparent-vlan vlan-list
Command
system-view
traffic classifier classifier-name [ operator
{ and | or } ]
if-match customer-vlan-id vlan-id-list
quit
traffic behavior behavior-name
nest top-most vlan-id vlan-id
159
Remarks
N/A
N/A
N/A
Use either command.
By default, basic QinQ is
disabled on ports.
By default, VLAN transparent
transmission is not configured.
Remarks
N/A
By default, the operator
of a class is AND.
N/A
N/A
N/A
N/A

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents