DGS-6604
m
police cir
CLI Reference Guide
494
violate-action:
equals
exceed-action
Command Mode
Policy map class configuration
Usage Guideline
As a packet arrives at a port, the packet will be initialized with a color. This color
will be used in control of congestion.
If the policer is operated in color blind mode, the packet is re-colored and the
actions are taken based on the policer metering result.
If the policer is operated in color aware mode, the packet is re-colored and the
actions are taken based on the policer metering result and the initial color of the
packet.
The actions configured by the set command for the traffic class will be applied to
the conforming packet. They will not be applied to the exceeding packet and the
violating packet.
Note: Either one of police command and police cir command can be activated for
the refereed traffic class. The latter command will overwrite the previous policer
command setting within the same traffic class.
The following example show the precedence between police and police cir
comands: create a policy-map, police-map1 and have a traffic class class-movie
with a two rate policer (police cir command).
Later it is realized that a single rate policer should be applied to class-movie
traffic and singe rate policer (police cir command) is added. The newer police
command will overwrite the previous police cir command setting.
Two-rate traffic policing uses two token buckets-Tc and Tp-for policing traffic at
two independent rates. Note the following points about the two token buckets:
"The Tc token bucket is updated at the CIR value. The Tc token bucket can
contain up to the confirm burst (Bc) value.
Switch(config)# policy-map police-map1
Switch(config-pmap)# class class-movie
Switch(config-pmap-c)# police cir 8000 pir 1000 exceed-action drop violate-
action drop
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# policy-map police-map1
Switch(config-pmap)# class class-movie
Switch(config-pmap-c)# police 8000 1000 exceed-action drop
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Summary of Contents for DGS-6600 Series
Page 1: ...0 9 3 ...