Reference Guide

QoS Commands 691
User Guidelines
The CIR and PIR are measured in Kbps (not pps as indicated in the RFC),
the CBS in Kbytes, and the PBS in Kbytes. It is recommended that the CBS
and PBS be configured to be larger than the largest expected IP packet. A
class command in policy-map mode must be issued for an existing class-map
before entering this command.
Example
console#police-two-rate 100000000 64 1000000000 32
conform-action set-cos-transmit 7 exceed-action set-
prec-transmit 7 violate-action drop
policy-map
Use the policy-map command in Global Configuration mode to establish a
new DiffServ policy or to enter policy map configuration mode. To remove
the policy, use the no form of this command.
Syntax
policy-map
policyname
[in|out]
no policy-map
policyname
Parameter Description
Parameter Description
policyname
Specifies the DiffServ policy name as a unique case-sensitive
alphanumeric string of characters. (Range: 1–31 alphanumeric
characters.)
in The policy is applied on ingress. Must be specified to create
new DiffServ policies. An existing policy can be selected
without specifying "in" or "out".
out The policy is applied on egress. Either "in" or "out" must be
specified to create a new DiffServ policy. An existing policy may
be selected without the "in" or "out" parameter.
2CSPC4.XModular-SWUM204.book Page 691 Friday, March 15, 2013 9:24 AM