Reference Guide
DSCP/CP hex range (XXX)xxx DSCP denition / traditional IP precedence Internal queue ID / DSCP/CP decimal —
8-queue
000XXX BE, best eort / best eort 0 / 0-7
1 Create a policy-map, and congure 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 trac-class ID in POLICY-MAP mode.
trust {diffserv} [fallback]
• diffserv —Sets the dynamic trac-class to trust DSCP. If a policy-map has trust (dot1p or diserv) enabled and has ACL-
based classication, only trust-based classication 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 classication, the packet is assigned a priority using trust-based
classication —trust is the fallback mechanism for ACL classication conicts.
4 Save the conguration.
do commit
Honor DSCP priority on ingress trac
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
congure strict priority to any number of queues. By default, all queues schedule trac per WDRR.
You can use the priority command to assign the priority to a single unicast queue—this conguration supersedes the bandwidth
percent conguration. A queue with priority enabled can starve other queues in the same port-pipe.
Create class-map
1 Create a class-map, and congure a name for the class-map in CONFIGURATION mode.
class-map type queuing class-map-name
2 Congure a match criteria in CLASS-MAP mode.
match queue queue-id
3 Save the conguration.
do commit
Dene a policy-map
1 Dene a policy-map, and create a policy-map name CONFIGURATION mode.
policy-map type queuing policy-map-name
2 Create a QoS class and congure a name for the policy-map in POLICY-MAP mode.
class class-map-name
450
Quality of service