H3C LS-3100-52P-OVS-H3 Operation Manual - page 191
1-7
To do...
Use the command...
Remarks
Set the link type of the uplink port to
trunk
port link-type trunk
Required
Configure the uplink port to permit the
specified SVLANs to pass through
port trunk permit vlan
{ vlan-id-list | all }
Required
By default, a trunk port
permits only VLAN 1 to
pass through.
Table 1-1 Configure an uplink policy
To do...
Use the command...
Remarks
Enter system view
system-view
—
Create a class and enter class
view
traffic classifier tcl-name [ operator { and
| or } ]
Required
Specify the CVLAN for the
VLAN mapping
if-match customer-vlan-id vlan-id-value
Required
Exit to system view
quit
—
Create a traffic behavior and
enter traffic behavior view
traffic behavior behavior-name
Required
Specify the SVLAN for the
VLAN mapping
remark service-vlan-id vlan-id-value
Required
Exit to system view
quit
—
Create a QoS policy and enter
QoS policy view
qos policy policy-name
Required
Map the CVLAN to the SVLAN
by associating the traffic class
with the traffic behavior
classifier tcl-name behavior
behavior-name
Required
Exit to system view
quit
—
Table 1-2 Configure a downlink policy
To do...
Use the command...
Remarks
Enter system view
system-view
—
Create a class and enter class
view
traffic classifier tcl-name [ operator { and
| or } ]
Required
Specify the SVLAN for the
VLAN mapping
if-match service-vlan-id vlan-id-value
Required
Exit to system view
quit
—
Create a traffic behavior and
enter traffic behavior view
traffic behavior behavior-name
Required
Specify the CVLAN for the
VLAN mapping
remark customer-vlan-id vlan-id-value
Required
Exit to system view
quit
—
Create a QoS policy and enter
QoS policy view
qos policy policy-name
Required