beautypg.com

Configuring the customer-side port – H3C Technologies H3C S7500E Series Switches User Manual

Page 301

background image

21-18

To do...

Use the command...

Remarks

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

Configure an SVLAN marking action to

replace the local SVLAN ID with a

foreign SVLAN ID

remark service-vlan-id vlan-id

Return to system view

quit

Required

Repeat these steps to

create one VLAN marking

behavior for each local

CVLAN and SVLAN 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 the customer-side port

Follow these steps to configure the customer-side port:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter Ethernet interface view

interface interface-type

interface-number

Configure the port as a trunk port

port link-type

trunk

Required

The default link type of an

Ethernet port is access.

Assign the port to the local SVLANs

port trunk permit vlan

{ vlan-id-list | all }

Required

By default, a trunk port is in

only VLAN 1.

Apply the uplink policy configured for the

customer-side port to the incoming traffic

qos apply policy policy-name

inbound

Required

Apply the downlink policy configured for

the customer-side port to the outgoing

traffic

qos apply policy policy-name

outbound

Required