Configuration prerequisites
Create CVLANs and SVLANs, and plan CVLAN-to-SVLAN mappings.
Configuring an uplink policy
Follow these steps to configure an uplink policy to map each CVLAN to a unique SVLAN:
To do...
Enter system view
Configure a class for a CVLAN
Return to system view
Configure a behavior for an
SVLAN.
Return to system view
Create a QoS policy and enter
QoS policy view
Associate the class with the
behavior to map the CVLAN to the
SVLAN
Configuring a downlink policy
Follow these steps to configure a downlink policy to map SVLANs back to CVLANs:
To do...
Enter system view
Configure a class for an SVLAN
Return to system view
Configure a behavior for a
CVLAN.
Return to system view
Create a QoS policy and enter
QoS policy view
Use the command...
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
quit
•
Create a traffic behavior and enter traffic
behavior view
traffic behavior behavior-name
•
Configure an SVLAN marking action
remark service-vlan-id vlan-id
quit
qos policy policy-name
classifier tcl-name behavior behavior-name
Use the command...
system-view
•
Create a class and enter class view
traffic classifier tcl-name [ operator { and |
or } ]
•
Configure an SVLAN as the match criterion
if-match service-vlan-id vlan-id
quit
•
Create a traffic behavior and enter traffic
behavior view
traffic behavior behavior-name
•
Configure a CVLAN marking action
remark customer-vlan-id vlan-id
quit
qos policy policy-name
157
Remarks
—
Required
—
Required
—
Required
Required
Remarks
—
Required
—
Required
—
Required