In this way, you can configure different forwarding policies for data of different type of users, thus improving the flexibility of network management. On the other hand, network resources are well utilized, and users of the same type are also isolated by their inner VLAN tags. This helps to improve network security.

Inner-to-Outer Tag Priority Mapping

As shown in Figure 1-3, the user priority field is the 802.1p priority of the tag. The value of this 3-bit field is in the range 0 to 7. By configuring inner-to-outer tag priority mapping for a VLAN-VPN-enabled port, you can assign outer tags of different priorities to packets according to their inner tag priorities.

Refer to QoS-QoS profile part for information about priority.

Selective QinQ Configuration

Configuration Task List

Complete the following tasks to configure selective QinQ:

Task

Remarks

Enabling the Selective QinQ Feature for a Port

Required

 

 

Configuring the Inner-to-Outer Tag Priority Mapping Feature

Optional

 

 

Enabling the Selective QinQ Feature for a Port

The following configurations are required for the selective QinQ feature:

z

z

Enabling the VLAN-VPN feature on the current port

Configuring the current port to permit packets of specific VLANs (the VLANs whose tags are to be used as the outer VLAN tags are required)

Follow these steps to enable the selective QinQ feature:

To do…

Use the command…

Remarks

Enter system view

system-view

 

 

 

Enter Ethernet port view

interface interface-type

interface-number

 

 

 

 

 

Configure the outer VLAN

vlan-vpn vid vlan-id

Required

tag and enter QinQ view

 

 

 

 

 

Configure to add outer

 

Required

VLAN tags to the packets

raw-vlan-id inbound

By default, the feature of adding an outer

with the specific inner

vlan-id-list

VLAN tag to the packets with the specific

VLAN tags

 

inner VLAN tags is disabled.

 

 

 

2-2

Page 606
Image 606
3Com WX3000 Selective QinQ Configuration, Inner-to-Outer Tag Priority Mapping, Vlan-vpn vid vlan-id, Raw-vlan-id inbound