Configuring one-to-one vlan mapping, Configuration prerequisites, Configuring an uplink policy – H3C Technologies H3C S10500 Series Switches User Manual
Page 209: Configuring a downlink policy

198
Task Switch
role
Configuring two-to-two VLAN mapping
Edge switch between SP networks
Configuring one-to-one VLAN mapping
Perform one-to-one VLAN mapping on wiring-closet switches (see
) to isolate traffic by both user
and traffic type.
Perform these tasks to configure one-to-one VLAN mapping:
Task Description
Creates CVLAN-to-SVLAN mappings (required).
Creates SVLAN-to-CVLAN mappings (required).
Configuring the customer-side port
Configures settings required for one-to-one VLAN mapping (required).
Configuring the network-side port
Configures VLAN settings required for normal communication (required).
Configuration prerequisites
Create CVLANs and SVLANs, and plan CVLAN-SVLAN mappings.
Configuring an uplink policy
Follow these steps to configure an uplink policy to map each CVLAN to a unique SVLAN:
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 } ]
Specify a CVLAN as the match
criterion
if-match customer-vlan-id vlan-id
Return to system view
quit
Required
Repeat these steps to configure one
class for each CVLAN.
Create a traffic behavior and enter
traffic behavior view
traffic behavior behavior-name
Configure an SVLAN marking
action
remark service-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 to map the CVLAN to the
SVLAN
classifier tcl-name behavior
behavior-name
Required
Repeat this step to create other
CVLAN-to-SVLAN mappings.
Configuring a downlink policy
Follow these steps to configure a downlink policy to map SVLANs back to CVLANs:
To do...
Use the command...
Remarks
Enter system view
system-view
—