Reference Guide

DSCP/CP hex range (XXX)xxx DSCP denition / traditional IP precedence Internal queue ID / DSCP/CP decimal —
8-queue
000XXX BE, best eort / best eort 0 / 0-7
1 Create a policy-map, and congure a name for the policy-map in CONFIGURATION mode.
policy-map [type qos] policy-map-name
2 Associate the class-trust class-map with the policy-map in POLICY-MAP-CLASS-MAP mode.
class-map class-trust
3 Honor incoming IP packets to classify this packet to a trac-class ID in POLICY-MAP mode.
trust {diffserv} [fallback]
diffserv —Sets the dynamic trac-class to trust DSCP. If a policy-map has trust (dot1p or diserv) enabled and has ACL-
based classication, only trust-based classication is used.
fallback—(Optional) Honor trusting DSCP only if other match criteria in this policy-map does not apply to a packet. If a policy-
map has trust (dot1p or fallback) enabled and has ACL-based classication, the packet is assigned a priority using trust-based
classicationtrust is the fallback mechanism for ACL classication conicts.
4 Save the conguration.
do commit
Honor DSCP priority on ingress trac
OS10(config)# policy-map policy-trust
OS10(conf-pmap-qos)# class class-trust
OS10(conf-pmap-c-qos)# trust diffserv
OS10(conf-pmap-c-qos)# do commit
View policy-map
OS10(conf-pmap-c-qos)# do show policy-map
Service-policy (qos) input: policy-trust
Class-map (qos): class-trust
trust diffserv
Strict priority queuing
OS10 uses queues for egress QoS policy-types. You can enable priorities to dequeue all packets from the assigned queue before servicing
any other queues. When more than one queue is assigned strict priority, the highest number queue receives the highest priority. You can
congure strict priority to any number of queues. By default, all queues schedule trac per WDRR.
You can use the priority command to assign the priority to a single unicast queue—this conguration supersedes the bandwidth
percent conguration. A queue with priority enabled can starve other queues in the same port-pipe.
Create class-map
1 Create a class-map, and congure a name for the class-map in CONFIGURATION mode.
class-map type queuing class-map-name
2 Congure a match criteria in CLASS-MAP mode.
match queue queue-id
3 Save the conguration.
do commit
Dene a policy-map
1 Dene a policy-map, and create a policy-map name CONFIGURATION mode.
policy-map type queuing policy-map-name
2 Create a QoS class and congure a name for the policy-map in POLICY-MAP mode.
class class-map-name
450
Quality of service