34
By default, no match criterion is configured for the class to match packets.
4. Return to system view.
quit
5. Create a traffic behavior and enter traffic behavior view.
traffic behavior behavior-name
6. Configure the behavior to mark packets with the specified local precedence value.
remark local-precedence local-precedence
By default, no local precedence marking action is configured.
7. Return to system view.
quit
8. Create a QoS policy and enter its view.
qos policy policy-name
9. Associate the class with the traffic behavior in the QoS policy, and apply the association to
DCBX.
classifier classifier-name behavior behavior-name mode dcbx
By default, no class-behavior associations exist.
Configuring the 802.1p-to-local priority mapping in the priority mapping table method
1. Enter system view.
system-view
2. Enter 802.1p-to-local priority mapping table view for the outgoing traffic.
qos map-table dot1p-lp
3. Configure the priority mapping table to map the specified 802.1p priority values to a local
precedence value.
import import-value-list export export-value
For information about the default priority mapping tables, see ACL and QoS Configuration
Guide.
Configuring group-based WRR queuing
1. Enter system view.
system-view
2. Enter Layer 2 Ethernet interface view.
interface interface-type interface-number
3. Enable WRR queuing.
qos wrr byte-count
By default, an interface uses the WRR queue scheduling algorithm.
4. Configure a queue.
Choose one option as needed:
{ Add a queue to WRR priority group 1 and configure the scheduling weight for the queue.
qos wrr queue-id group
1 byte-count schedule-value
{ Configure a queue to use SP queuing.
qos wrr queue-id
group sp