5-65
Quality of Service: Managing Bandwidth More Effectively
Globally-Configured QoS
b. Determine the 802.1p priority you want to assign to the DSCP.
3. If necessary, use the qos dscp-map < codepoint > priority < 0 - 7 > command 
to configure the DSCP policy (codepoint and associated 802.1p priority) 
that you want to use to mark matching packets.
Prerequisite A DSCP codepoint must have a preconfigured 802.1p priority (0 - 7) before 
you can use the codepoint to mark matching packets. If a codepoint you want 
to use shows No-override in the Priority column of the DSCP Policy table (show 
qos dscp-map command), you must first configure a priority for the codepoint 
before proceeding (qos dscp-map priority command). See “Differentiated Ser-
vices Codepoint (DSCP) Mapping” on page 5-90 for more information.
4. Configure the switch to assign the DSCP policy to packets from the 
specified source-port.
Syntax: qos dscp-map < codepoint > priority < 0 - 7 >
This command is optional if a priority has already been 
assigned to the < codepoint >. The command creates a DSCP 
policy by assigning an 802.1p priority to a specific DSCP. 
When the switch applies this priority to a packet, the priority 
determines the packet’s queue in the outbound port to which 
it is sent. If the packet leaves the switch on a tagged port, it 
carries the 802.1p priority with it to the next downstream 
device. For IP packets, the DSCP codepoint in the packet 
header is replaced by the codepoint specified in this com-
mand. (Default: For most codepoints, No-override. See Figure 
5-11 on page 5-91.)
Syntax: interface < port-list > qos dscp < codepoint > 
Assigns a DSCP policy to IP packets from the specified 
source-port(s), and overwrites the DSCP in these packets 
with the assigned < codepoint > value. 
Valid values for a DSCP codepoint are as follows:
- A binary value for the six-bit codepoint from 000000 to 
111111.
- A decimal value from 0 (low priority) to 63 (high priority) 
that corresponds to a binary DSCP bit set
-An ASCII standard name for a binary DSCP bit set
Type ? to display the list of valid codepoint entries.