Configuring inner vlan id substitution – H3C Technologies H3C S10500 Series Switches User Manual

Page 190

Advertising
background image

179

To do...

Use the command...

Remarks

Enter system view

system-view

Create a class and enter class view

traffic classifier classifier-name [ operator
{ and | or } ]

Required
By default, the operator of a

class is AND.

Configure a match criterion

Match the specified inner VLAN IDs:

if-match customer-vlan-id vlan-id-list

Match the specified inner VLAN tag
priorities:

if-match customer-dot1p 8021p-list

Required
Use either command.

Return to system view

quit

Create a traffic behavior and enter
traffic behavior view

traffic behavior behavior-name Required

Configure the action of marking
the 802.1p priorities in outer

VLAN tags

remark dot1p 8021p Required

Return to system view

quit

Create a QoS policy and enter
QoS policy view

qos policy policy-name

Required

Associate the traffic class with the
traffic behavior defined earlier

classifier classifier-name behavior
behavior-name

Required

Return to system view

quit

Enter Ethernet interface view or
port group view of the customer

network-side port

Enter Ethernet interface view:

interface interface-type interface-number

Enter port group view:

port-group manual port-group-name

Required
Use either command.

Enable basic QinQ

qinq enable

Required

Apply the QoS policy to the
incoming traffic

qos apply policy policy-name inbound Required

Configuring inner VLAN ID substitution

Basic QinQ does not change the inner VLAN ID when tagging the customer VLAN frame with an outer

VLAN tag. Selective QinQ can change the inner VLAN ID when tagging the customer VLAN frame with

an outer VLAN tag according to the inner VLAN ID substitution function you configured.

NOTE:

Configure inner VLAN ID substitution on the port that connects to the service provider network.

Follow these steps to configure inner VLAN ID substitution:

To do...

Use the command...

Remarks

Enter system view

system-view

Advertising