Configuring the tpid value in vlan tags – H3C Technologies H3C S10500 Series Switches User Manual

Page 191

Advertising
background image

180

To do...

Use the command...

Remarks

Create a class and enter class view

traffic classifier classifier-name [ operator
and ]

Required
By default, the

operator of a class is

AND.

Configure a match criterion to match the
specified inner VLAN IDs

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

Required

Configure a match criterion to match the
specified outer VLAN IDs

if-match service-vlan-id vlan-id

Required

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 inner
VLAN IDs

remark customer-vlan-id vlan-id 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 service provider

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.

Apply the QoS policy to the outgoing
traffic

qos apply policy policy-name outbound Required

Configuring the TPID value in VLAN tags

Follow these steps to configure the TPID value of a VLAN tag:

To do...

Use the command...

Remarks

Enter system view

system-view

Configure the TPID in the
customer network VLAN tags qinq ethernet-type customer-tag hex-value

Optional
0x8100 by default.

Enter interface view or port
group view of the service

provider network-side port

Enter Ethernet interface view or Layer 2

aggregate interface view:

interface interface-type interface-number

Enter port group view:

port-group manual port-group-name

Required
Use either command.

Configure the TPID in the
service provider network

VLAN tags

qinq ethernet-type service-tag hex-value

Optional
0x8100 by default.

Advertising