H3C Technologies H3C S10500 Series Switches User Manual

Page 217

Advertising
background image

206

To do...

Use the command...

Remarks

Create a class and enter class view

traffic classifier tcl-name [ operator
and ]

Specify a foreign CVLAN as a match
criterion

if-match customer-vlan-id vlan-id

Specify a local SVLAN as a match
criterion

if-match service-vlan-id vlan-id

Return to system view

quit

Required
Repeat these steps to create

one class for each local SVLAN

and foreign CVLAN pair.

Create a traffic behavior and enter
traffic behavior view

traffic behavior behavior-name

Configure a CVLAN marking action to
replace the foreign CVLAN ID with a

local CVLAN ID

remark customer-vlan-id vlan-id

Return to system view

quit

Required
Repeat these steps to configure
one CVLAN marking action for

each local SVLAN and foreign

CVLAN pair.

Create a QoS policy and enter QoS
policy view

qos policy policy-name Required

Associate the class with the behavior

classifier tcl-name behavior
behavior-name

Required
Repeat this step to create other
class-behavior associations.

Configuring a downlink policy for the customer-side port

The downlink policy on the customer-side port replaces local SVLAN and CVLAN pairs with foreign

SVLAN and CVLAN pairs.

NOTE:

If the uplink policy only replaces the CVLAN tags, skip the step of SVLAN marking.

If the uplink policy only replaces the SVLAN tags, skip the step of CVLAN marking.

Follow these steps to configure a downlink policy for the customer-side port:

To do...

Use the command...

Remarks

Enter system view

system-view

Create a class and enter class view

traffic classifier tcl-name
[ operator and ]

Specify a local CVLAN as a match

criterion

if-match customer-vlan-id vlan-id

Specify a local SVLAN as a match
criterion

if-match service-vlan-id vlan-id

Return to system view

quit

Required
Repeat these steps to create
one class for each local

CVLAN and SVLAN pair.

Create a traffic behavior and enter
traffic behavior view

traffic behavior behavior-name

Configure a CVLAN marking action to
replace the local CVLAN ID with a

foreign CVLAN ID

remark customer-vlan-id vlan-id

Required
Repeat these steps to create
one VLAN marking behavior

for each local CVLAN and

SVLAN pair.

Advertising