5-51
Quality of Service: Managing Bandwidth More Effectively
Globally-Configured QoS
Figure 5-19.  Configuring DSCP Policies in the DSCP Table
3. Assign the new policies to mark matching packets with the specified 
codepoints.
Figure 5-20.  Assigning DSCP Policies to Outbound Packets Based on the DSCP Codepoint from Upstream 
Devices
HP Switch(config)# qos dscp-map 000010 priority 6 name 'Level 6'
HP Switch(config)# qos dscp-map 000101 priority 4 name 'Level 4'
HP Switch(config)# show qos dscp-map
  DSCP -> 802.p priority mappings
  DSCP CodePoint DSCP Value 802.1p tag  DSCP Policy name
  -------------- ---------- ----------- --------------------------------
  000000         0          No-override 
  000001         1          No-override
  000010         2          6           Level 6
  000011         3          No-override
  000100         4          No-override
  000101         5          4           Level 4
     .           .                .
HP Switch(config)# qos type-of-service diff-services 001100 dscp 000010
HP Switch(config)# qos type-of-service diff-services 001101 dscp 000101
HP Switch(config)# show qos type-of-service
  Type of Service : Differentiated Services
  Codepoint DSCP Policy | Priority
  --------- ----------- + -----------
  000000                | No-override
  000001                | No-override
  000010                | 6
  000011                | No-override
  000100                | No-override
  000101                | 4
  000110                | No-override
  000111                | No-override
  001000                | No-override
  001001                | No-override
  001010                | No-override
  001011                | No-override
  001100    000010      | 6
  001101    000101      | 4
  001110                | No-override
     .        .             .
The specified DSCP policies 
overwrite the original DSCPs in 
matching packets, and use the 
802.1p priorities configured in 
the DSCP policies in step 2.