Service Manual

Applying an Output Policy Map to an Interface
To apply an output policy map to an interface, use the following command.
Apply an input policy map to an interface.
INTERFACE mode
service-policy output
You can apply the same policy map to multiple interfaces, and you can modify a policy map after you apply it.
DSCP Color Maps
This section describes how to congure color maps and how to display the color map and color map conguration.
This sections consists of the following topics:
Creating a DSCP Color Map
Displaying Color Maps
Display Color Map Conguration
Creating a DSCP Color Map
You can create a DSCP color map to outline the dierentiated services codepoint (DSCP) mappings to the appropriate color
mapping (green, yellow, red) for the input trac. The system uses this information to classify input trac on an interface based on
the DSCP value of each packet and assigns it an initial drop precedence of green, yellow, or red
The default setting for each DSCP value (0-63) is green (low drop precedence). The DSCP color map allows you to set the number
of specic DSCP values to yellow or red. Trac marked as yellow delivers trac to the egress interface, which will either transmit or
drop the packet based on congured queuing behavior. Trac marked as red (high drop precedence) is dropped.
Important Points to Remember
All DSCP values that are not specied as yellow or red are colored green (low drop precedence).
A DSCP value cannot be in both the yellow and red lists. Setting the red or yellow list with any DSCP value that is already in the
other list results in an error and no update to that DSCP list is made.
Each color map can only have one list of DSCP values for each color; any DSCP values previously listed for that color that are
not in the new DSCP list are colored green.
If you congured a DSCP color map on an interface that does not exist or you delete a DSCP color map that is congured on an
interface, that interface uses an all green color policy.
To create a DSCP color map:
1. Create the color-aware map QoS DSCP color map.
CONFIGURATION mode
qos dscp-color-map color-map-name
2. Create the color aware map prole.
DSCP-COLOR-MAP
dscp {yellow | red} {list-dscp-values}
3. Apply the map prole to the interface.
CONFIG-INTERFACE mode
598
Quality of Service (QoS)