API Guide

number is used only internally to schedule classes of ingress traffic. Enter multiple dot1p and dscp values in a hyphenated
range or separated by commas.
trust dot1p-map dot1p-map-name
qos-group {0-7} dot1p {0-7}
exit
trust dscp-map dscp-map-name
qos-group {0-7} dscp {0-63}
exit
2. Configure a QoS map with trusted traffic-class (qos-group) to lossless-queue mapping in CONFIGURATION mode. Assign
one or more qos-groups, from 0 to 7, to a specified queue in QOS-MAP mode. Enter multiple qos-group values in a
hyphenated range or separated by commas. Enter multiple queue qos-group entries, if necessary.
qos-map traffic-class queue-map-name
queue {0-7} qos-group {0-7}
exit
3. Apply the default trust map specifying that dot1p and dscp values are trusted in SYSTEM-QOS or INTERFACE mode.
trust-map {dot1p | dscp} default
4. Create a queuing class map for each ETS queue in CONFIGURATION mode. Enter match queue criteria in CLASS-MAP
mode.
classmap type queuing classmap-name
match queue {0-7}
exit
5. Create a queuing policy map in CONFIGURATION mode. Enter POLICY-CLASS-MAP mode and configure the percentage
of bandwidth that is allocated to each traffic class-queue mapping. The sum of all DWRR-allocated bandwidth across ETS
queues must be 100%, not including the strict-priority queue. Otherwise, QoS automatically adjusts bandwidth percentages
so that ETS queues always receive 100% bandwidth. The remaining non-ETS queues receive 1% bandwidth each.
policymap type queuing policymap-name
class classmap-name
bandwidth percent {1-100}
(Optional) To configure a queue as strict-priority, use the priority command. Packets scheduled to a strict priority queue
are transmitted before packets in nonpriority queues.
policymap type queuing policymap-name
class classmap-name
priority
6. Apply the trust maps for dot1p and DSCP values, and the traffic class-queue mapping globally on the switch in SYSTEM-
QOS mode or on an interface or interface range in INTERFACE mode.
system qos
trust-map dot1p dot1p-map-name
trust-map dscp dscp-map-name
qos-map traffic-class queue-map-name
Or
interface {ethernet node/slot/port[:subport] | range ethernet node/slot/
port[:subport]-node/slot/port[:subport]}
trust-map dot1p dot1p-map-name
trust-map dscp dscp-map-name
qos-map traffic-class queue-map-name
7. Apply the qos trust policy to ingress traffic in SYSTEM-QOS or INTERFACE mode.
service-policy input type qos trust-policymap-name
1332
Converged data center services