Task
Configuring an uplink policy
Configuring the customer-side port
Configuring the network-side port
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
Return to system view
Apply the QoS policy to the
incoming traffic of all ports
Configuring the customer-side port
Follow these steps to configure the customer-side port:
To do...
Enter system view
Enter Layer 2 Ethernet interface
view
Description
Required
Create CVLAN-to-SVLAN mappings.
Required
Configure settings required for one-to-one VLAN mapping.
Required
Configure VLAN settings required for normal communication.
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
quit
qos apply policy policy-name global inbound
Use the command...
system-view
interface interface-type
interface-number
155
Remarks
—
Required
—
Required
—
Required
Required
—
Required
Remarks
—
—