14-15
Ethernet Card Software Feature and Configuration Guide, R7.2
January 2009
Chapter 14 Configuring Quality of Service
Creating a Traffic Policy
Router (config-pmap-c)# police
cir-rate-bps
normal-burst-byte
[
max-burst-byte
] [
pir
pir-rate-bps
] [conform-action {set-cos-transmit |
transmit | drop}] [exceed-action {set-cos-transmit
| drop}] [violate-action {set-cos-transmit | drop}]
Defines a policer for the currently selected class when the
policy map is applied to input. Policing is supported only on
ingress, not on egress.
For cir-rate- bps, specify the average committed
information rate (cir) in bits per second (bps). The range is
96000 to 800000000.
For normal-burst-byte, specify the cir burst size in bytes.
The range is 8000 to 64000.
(Optional) For maximum-burst-byte, specify the peak
information rate (pir) burst in bytes. The range is 8000 to
64000.
(Optional) For pir-rate-bps, specify the average pir traffic
rate in bps where the range is 96000 to 800000000.
(Optional) Conform action options are:
Set a CoS priority value and transmit
Transmit packet (default)
Drop packet
(Optional) Exceed action options are:
Set a CoS value and transmit
Drop packet (default)
(Optional) The violate action is only valid if pir is
configured. Violate action options are:
Set a CoS value and transmit
Drop packet (default)
Table 14-2 Traffic Policy Commands (continued)
Command Purpose