Switch 7700 Command reference Guide, v2.0

Table Of Contents
QoS Configuration Commands List 287
Description
Use the priority-trust command to choose putting the packet to
corresponding sending queue based on which priority.
By default, switch chooses the local preference as the based priority.
Switch supports 8 output queues with different priorities. The packets in the
higher-priority queue will be transmitted first. The switch puts the packets into the
corresponding output queues according to their priorities as follows:
1 Based on dscp priority: The dscp priorities cover the range from 0 to 63. The
packets with priorities ranging from 0 to 7 will be put into the queue 0, the
packets with priorities ranging from 8 to 15 will be put into the queue 1, so on
and so forth.
2 Based on ip-precedence: The ip-precedence cover the range from 0 to 15. The
packets with priorities ranging from 0 to 1 will be put into the queue 0, the
packets with priorities ranging from 2 to 3 will be put into the queue 1, so on and
so forth.
3 Based on cos priority: The cos priorities cover the range from 0 to 7. The packets
with priority 0 will be put into the queue 0, so on and so forth.
4 Based on local-precedence: The local-precedence priorities cover the range
from 0 to 7. The packets with priority 0 will be put in the queue 0, so on and so
forth.
You can configure the packet priority basis for the queue scheduling in accordance
with the actual situation.
Example
Configure the queue scheduling based on dscp priority.
[SW7700]priority-trust dscp
qos
cos-local-precedence-
map
Syntax
qos cos-local-precedence-map cos0-map-local-prec cos1-map-local-prec
cos2-map-local-prec cos3-map-local-prec cos4-map-local-prec
cos5-map-local-prec cos6-map-local-prec cos7-map-local-prec
undo qos cos-local-precedence-map
View
System view
Parameter
cos0-map-local-prec: Specifies the mapping value of “COS 0->local-prec”,
which ranges from 0 to 7.
cos1-map-local-prec: Specifies the mapping value of “COS 1->local-prec”,
which ranges from 0 to 7.
cos2-map-local-prec: Specifies the mapping value of “COS 2->local-prec”,
which ranges from 0 to 7.