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

Page 297

Advertising
background image

21-14

To do...

Use the command...

Remarks

Create a class and enter class

view

traffic classifier

tcl-name

[ operator { and | or } ]

Required

Configure CVLAN match criteria

if-match customer-vlan-id

{ vlan-id-list | vlan-id1 to vlan-id2 }

Required

Return to system view

quit

Required

Create a traffic behavior and enter

traffic behavior view

traffic behavior behavior-name

Add a VLAN nest action to insert

an outer VLAN tag into the

incoming packets from the CVLAN

or CVLANs

nest

top-most vlan-id vlan-id

Return to system view

quit

Required

Repeat these steps to configure

one behavior for each SVLAN.

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

class-behavior associations for

other CVLANs.

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 hybrid port

port link-type

hybrid

Required

The default link type of an

Ethernet port is access.

Assign the port to the SVLANs as an

untagged member

port hybrid

vlan vlan-id-list

untagged

Required

By default, a hybrid port is

in only VLAN 1.

Enable basic QinQ

qinq enable

Required

By default, basic QinQ is

disabled on all ports.

Advertising