Configuration prerequisites, Configuring an uplink policy, Configuring the customer-side port – H3C Technologies H3C S10500 Series Switches User Manual
Page 214

203
Task Description
Configuring the customer-side port
Configures VLAN and other settings required for one-to-two VLAN
mapping (required).
Configuring the network-side port
Configures VLAN and other settings required for one-to-two VLAN
mapping (required).
Configuration prerequisites
Create VLANs, and plan CVLAN-to-SVLAN mappings.
Configuring an uplink policy
Follow these steps to configure an uplink policy to insert an SVLAN to VLAN tagged packets:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Create a class and enter class
view
traffic classifier tcl-name [ operator
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.