34-1

C
HAPTER
34Q

UALITY

OF
S
ERVICE
C
OMMANDS
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 34-1 Quality of Service Commands
Command Function Mode Page
class-map Creates a class map for a type of traffic GC 34-3
match Defines the criteria used to classify traffic CM 34-4
policy-map Creates a policy map for multiple interfaces GC 34-6
class Defines a traffic classification for the policy
to act on
PM 34-7
set Classifies IP traffic by setting a CoS, DSCP,
or IP-precedence value in a packet
PM-C 34-8
police Defines an enforcer for classified traffic PM-C 34-9
service-policy Applies a policy map defined by the
policy-map command to the input of a
particular interface
IC 34-10
show class-map Displays the QoS class maps which define
matching criteria used for classifying traffic
PE 34-11