CLI Reference Guide-R04

Table Of Contents
– 647 –
24 Quality of Service Commands
The commands described in this section are used to configure Differentiated
Services (DiffServ) classification criteria and service policies. You can classify traffic
based on access lists, IP Precedence or DSCP values, or VLANs. Using access lists
allows you select traffic based on Layer 2, Layer 3, or Layer 4 information contained
in each packet.
Table 124: Quality of Service Commands
Command Function Mode
class-map Creates a class map for a type of traffic GC
description Specifies the description of a class map CM
match Defines the criteria used to classify traffic CM
rename Redefines the name of a class map CM
policy-map Creates a policy map for multiple interfaces GC
description Specifies the description of a policy map PM
class Defines a traffic classification for the policy to act on PM
rename Redefines the name of a policy map PM
police flow Defines an enforcer for classified traffic based on a metered
flow rate
PM-C
police srtcm-color Defines an enforcer for classified traffic based on a single
rate three color meter
PM-C
police trtcm-color Defines an enforcer for classified traffic based on a two rate
three color meter
PM-C
set cos Services IP traffic by setting a class of service value for
matching packets for internal processing
PM-C
set ip dscp Services IP traffic by setting a IP DSCP value for matching
packets for internal processing
PM-C
set phb Services IP traffic by setting a per-hop behavior value for
matching packets for internal processing
PM-C
service-policy Applies a policy map defined by the policy-map command
to the input of a particular interface
IC
show class-map Displays the QoS class maps which define matching criteria
used for classifying traffic
PE
show policy-map Displays the QoS policy maps which define classification
criteria for incoming traffic, and may include policers for
bandwidth limitations
PE
show policy-map interface Displays the configuration of all classes configured for all
service policies on the specified interface
PE