Configuring the customer-side port – H3C Technologies H3C S12500 Series Switches User Manual
Page 172

159
Step Command
Remarks
2.
Configure one class for a CVLAN
and a SVLAN.
a.
Create a class and enter class
view:
traffic classifier tcl-name
[ operator { and | or } ]
b.
Specify one CVLAN as the
match criterion:
if-match customer-vlan-id
vlan-id-value
c.
Specify one SVLAN as the
match criterion:
if-match service-vlan-id
vlan-id-value
d.
Return to system view:
quit
Repeat these steps to
create one class for each
CVLAN and foreign
SVLAN pair.
3.
Configure one behavior for an
SVLAN.
a.
Create a traffic behavior and
enter traffic behavior view:
traffic behavior
behavior-name
b.
Configure an SVLAN marking
action to replace the foreign
SVLAN ID with a local SVLAN
ID:
remark service-vlan-id
vlan-id-value
c.
Return to system view:
quit
Repeat these steps to
configure one SVLAN
marking action for each
CVLAN and foreign
SVLAN pair.
4.
Create a QoS policy and enter
QoS policy view.
qos policy policy-name N/A
5.
Associate the class with the
behavior.
classifier tcl-name behavior
behavior-name
Repeat this step to create
other class-behavior
associations.
6.
Return to system view.
quit
N/A
Configuring the customer-side port
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Ethernet interface view.
interface interface-type
interface-number
N/A
3.
Configure the link type of the port.
•
Configure the port as a trunk
port:
port link-type trunk
•
Configure the port as a hybrid
port:
port link-type hybrid
The default link type of an
Ethernet port is access.