Owner's manual

89
Chapter 5 - Command Line Interface
This command denes a policy-map class using a name, and enter policy-
map-class conguration mode.
CLI Syntax
: class CLASSMAP
Example
: (cong-pmap)# class a
5.3.19.3 match
This command set the match criteria.
CLI Syntax
: match (access-group ACLNAME | ip dscp DSCPLIST |
ip
precedence IPPRECEDENCES
)
Example
: (cong-pmap-class)# match access-group ipacl1
(cong-pmap-class)# match ip dscp 4-6
(cong-pmap-class)# match ip precedence 1,3,5
5.3.19.4 police
This command set the police for the incoming packets which match the
criteria.
CLI Syntax
: police (RATE BURSTSIZE | drop | high-drop)
Example
: (cong-pmap-class)# police 64 128
(cong-pmap-class)# police drop
(cong-pmap-class)# police high-drop
5.3.19.5 set
This command set the COS and IP priority of the incoming packets which
match the criteria.
CLI Syntax
: set (cos override VALUE | ip dscp VALUE | ip precedence
VALUE)
Example
: (cong-pmap-class)# set cos 3
(cong-pmap-class)# set ip dscp 20
(cong-pmap-class)# set ip precedence 5
5.3.19.6 service-policy input