190
To do... Use the command... Remarks
10. Create a QoS policy and enter
QoS policy view
qos policy policy-name Required.
11. Associate the class with the
behavior
classifier tcl-name behavior behavior-
name
Required.
Repeat this step to create
other class-behavior
associations.
Configuring the customer-side port
To configure the customer-side port:
To do... Use the command... Remarks
1. Enter system view
system-view —
2. Enter Ethernet interface view
interface interface-type interface-
number
—
3. Configure the port as a trunk port
port link-type trunk
Required.
The default link type of an
Ethernet port is access.
4. Assign the port to the local SVLANs
port trunk permit vlan { vlan-id-list
| all }
Required.
By default, a trunk port is
in only VLAN 1.
5. Apply the uplink policy configured for
the customer-side port to the incoming
traffic
qos apply policy policy-name
inbound
Required.
6. Apply the downlink policy configured
for the customer-side port to the
outgoing traffic
qos apply policy policy-name
outbound
Required.
Configuring the network-side port
To configure the network-side port:
To do... Use the command... Remarks
1. Enter system view
system-view —
2. Enter Ethernet interface view
interface interface-type interface-
number
—
3. Configure the port as a trunk port
port link-type trunk
Required.
The default link type of an
Ethernet port is access.
4. Assign the port to local SVLANs
port trunk permit vlan { vlan-id-
list | all }
Required.
By default, a trunk port is
in only VLAN 1.
5. Apply the uplink policy for the
network-side port to the outgoing
traffic
qos apply policy policy-name
outbound
Required.