Step
10.
Create a QoS policy and enter
QoS policy view.
11.
Associate the class with the
behavior.
NOTE:
If the uplink policy only replaces the CVLAN tags, skip the step of SVLAN marking.
•
If the uplink policy only replaces the SVLAN tags, skip the step of CVLAN marking.
•
Configuring the customer-side port
Step
Enter system view.
1.
2.
Enter Layer 2 Ethernet
interface view.
3.
Configure the link type of the
port.
4.
Assign the port to all SVLANs.
5.
Apply the uplink policy
configured for the
customer-side port to
incoming traffic.
6.
Apply the downlink policy
configured for the
customer-side port to outgoing
traffic.
Configuring the network-side port
Step
1.
Enter system view.
2.
Enter Layer 2 Ethernet
interface view.
Command
qos policy policy-name
classifier tcl-name behavior
behavior-name
Command
system-view
interface interface-type
interface-number
•
Configure the port as a trunk
port:
port link-type trunk
•
Configure the port as a hybrid
port:
port link-type hybrid
•
Assign the trunk port to VLANs:
port trunk permit vlan { vlan-list
| all }
•
Assign the hybrid port to VLANs
as a tagged member:
port hybrid vlan vlan-list
tagged
qos apply policy policy-name
inbound
qos apply policy policy-name
outbound
Command
system-view
interface interface-type
interface-number
186
Remarks
N/A
Repeat this step to create other
class-behavior associations.
Remarks
N/A
N/A
Use one of the commands.
The default link type of an Ethernet
port is access.
Use one of the commands.
By default:
•
A trunk port is assigned only to
VLAN 1.
•
A hybrid port is an untagged
member of VLAN 1.
Optional.
Skip this step if you have not
configure an uplink policy to
replace the foreign SVLAN ID with
a local SVLAN ID.
N/A
Remarks
N/A
N/A