c. Return to system view.
quit
7.
Apply the QoS policy.
Choose one option as needed:
Apply the QoS policy to the outgoing traffic of all ports.
qos apply policy policy-name global outbound
Apply the QoS policy to the outgoing traffic of a Layer 2 Ethernet interface.
interface interface-type interface-number
qos apply policy policy-name outbound
The configuration in system view applies to all interfaces. The configuration in Layer 2 Ethernet
interface view applies only to the Layer 2 Ethernet interface.
Configuring ETS parameters
About ETS parameters
ETS provides committed bandwidth. To avoid packet loss caused by congestion, the device
performs the following operations:
•
Uses ETS parameters to negotiate with the server adapter.
•
Controls the server adapter's transmission speed of the specified type of traffic.
•
Guarantees that the transmission speed is within the committed bandwidth of the interface.
Restrictions and guidelines
To configure ETS parameters, perform the following tasks:
1.
Configure the 802.1p-to-local priority mapping by using either of the following methods:
MQC method.
Priority mapping table method.
If you configure the 802.1p-to-local priority mapping in both methods, the configuration made in
the MQC method applies. For information about the QoS commands for configuring
802.1p-to-local priority mapping, see ACL and QoS Command Reference.
2.
Configure group-based WRR queuing to allocate bandwidth.
For information about the WRR queuing configuration commands, see ACL and QoS
Command Reference.
Configuring the 802.1p-to-local priority mapping
Configuring the 802.1p-to-local priority mapping in the MQC method
1.
Enter system view.
system-view
2.
Create a traffic class, specify the operator of the class as OR, and enter class view.
traffic classifier classifier-name operator or
3.
Configure the class to match packets with the specified service provider network 802.1p priority
values.
if-match service-dot1p 8021p-list
33