Reference Guide

Quality of Service (QoS) | 665
Create Input Policy Maps
There are two types of input policy-maps: Layer 3 and Layer 2.
1. Create a Layer 3 input policy map using the command
policy-map-input from CONFIGURATION
mode. Create a Layer 2 input policy map by specifying the keyword
layer2 with the policy-map-input
command.
2. Once you create an input policy map, do one or more of the following:
Apply a class-map or input QoS policy to a queue
Apply an input QoS policy to an input policy map
Honor DSCP values on ingress packets
Honoring dot1p values on ingress packets
3. Apply the input policy map to an interface.
Apply a class-map or input QoS policy to a queue
Assign an input QoS policy to a queue using the command service-queue from POLICY-MAP-IN mode.
Apply an input QoS policy to an input policy map
Apply an input QoS policy to an input policy map using the command policy-aggregate from
POLICY-MAP-IN mode.
Honor DSCP values on ingress packets
FTOS provides the ability to honor DSCP values on ingress packets using Trust DSCP feature. Enable this
feature using the command
trust diffserv from POLICY-MAP-IN mode. Table 33-5 lists the standard DSCP
definitions, and indicates to which queues FTOS maps DSCP values. When Trust DSCP is configured the
matched packets and matched bytes counters are not incremented in
show qos statistics.
Table 33-5. Default DSCP to Queue Mapping
FTOS Behavior: On ExaScale, FTOS cannot classify protocol traffic on a Layer 2 interface using
Layer 3 policy map. The packets always take the default queue, Queue 0, and cannot be rate-policed.
DSCP/CP
hex range
(XXX)xxx DSCP Definition
Traditional IP
Precedence
E-Series
Internal
Queue ID
C-Series
Internal
Queue ID
S-Series
Internal
Queue ID
DSCP/CP
decimal
111XXX Network Control 7 3 3
48–63
110XXX Internetwork Control 6 3 3
101XXX EF (Expedited
Forwarding)
CRITIC/ECP 5 2 2
32–47
100XXX AF4 (Assured
Forwarding)
Flash Override 4 2 2