Reference Guide

Table Of Contents
dot1p —Sets the dynamic classication to trust dot1p.
fallback—(Optional) Honor trusting 802.1p (dot1p) only if other match criteria in this policy-map fails to qualify for a packet.
Honor 802.1p priorities on ingress trac
OS10(config)# policy-map policy-trust
OS10(conf-pmap-qos)# class class-trust
OS10(conf-pmap-c-qos)# trust dot1p
View policy-map
OS10(conf-pmap-c-qos)# do show policy-map
Service-policy(qos) input: policy-trust
Class-map (qos): class-trust
trust dot1p
Queue selection
OS10 does not honor DSCP values on ingress trac by default. Honoring DSCP means assigning a trac-class ID implicitly based on the
incoming packets. You can use the trust command under the reserved class-map name class-trust to enable honoring DSCP.
Table 6. Default DSCP to Queue Mapping
DSCP/CP hex range (XXX)xxx DSCP denition / traditional IP precedence Internal queue ID / DSCP/CP decimal —
8-queue
111XXX / network control 7 / 56-63
110XXX /internetwork control 6 / 48-55
101XXX EF, expedited forwarding / CRITIC/ECP 5 / 40-47
100XXX AF4, assured forwarding / ash override 4 / 32-39
011XXX AF3 / ash 3 / 24-31
010XXX AF2 / immediate 2 / 16-23
001XXX AF1 / priority 1 / 8-15
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.
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
View policy-map
OS10(conf-pmap-c-qos)# do show policy-map
Service-policy (qos) input: policy-trust
478
Quality of service