Configuring a downlink policy
To configure a downlink policy to map SVLANs back to CVLANs:
Step
1.
Enter system view.
2.
Configure one class for an
SVLAN.
3.
Configure one behavior for a
CVLAN.
4.
Create a QoS policy and
enter QoS policy view.
5.
Associate the class with the
behavior to map the SVLAN
to the CVLAN.
Configuring the customer-side port
Step
1.
Enter system view.
2.
Enter Ethernet interface view.
3.
Configure the link type of the
port.
Command
system-view
a.
Create a class and enter class view:
traffic classifier tcl-name [ operator
{ and | or } ]
b.
Configure an SVLAN as the match
criterion:
if-match service-vlan-id vlan-id
c.
Return to system view:
quit
a.
Create a traffic behavior and enter
traffic behavior view:
traffic behavior behavior-name
b.
Configure a CVLAN marking action:
remark customer-vlan-id vlan-id
c.
Return to system view:
quit
qos policy policy-name
classifier tcl-name behavior behavior-name
Command
system-view
•
Enter Layer 2 Ethernet interface view:
interface interface-type
interface-number
•
Ethernet port group view:
port-group manual port-group-name
•
Configure the port as a trunk port:
port link-type trunk
•
Configure the port as a hybrid port:
port link-type hybrid
185
Remarks
N/A
Repeat this step to
configure one class for
each SVLAN.
Repeat this step to
configure one behavior
for each CVLAN.
N/A
Repeat this step to
create other
CVLAN-to-SVLAN
mappings.
Remarks
N/A
N/A
Use one of the commands.
The default link type of an
Ethernet port is access.