-306
Cisco MWR 2941 Mobile Wireless Edge Router Release 3.5 Command Reference, Cisco IOS Release 15.1(3)MR
OL-26895-01
Chapter Cisco MWR 2941 Router Command Reference, Release 15.1(3)MR
police (percent)
Examples The following example shows how to configure traffic policing using a CIR and a PIR on the basis of a
percentage of bandwidth. In this example, a CIR of 20 percent and a PIR of 40 percent have been
specified. Additionally, an optional bc value and be value (300 ms and 400 ms, respectively) have been
specified.
Router> enable
Router# configure terminal
Router(config)# policy-map policy1
Router(config-pmap)# class class1
Router(config-pmap-c)# police cir percent 20 bc 300 ms be 400 ms pir percent 40
Router(config-pmap-c-police)# exit
After the policy map and class maps are configured, the policy map is attached to an interface as shown
in the following example:
Router> enable
Router# configure terminal
Router(config)# interface serial4/0
Router(config-if)# service-policy input policy1
Router(config-if)# exit
Related Commands Command Description
bandwidth
(policy-map class)
Specifies or modifies the bandwidth allocated for a class belonging to a
policy map.
bridge-domain Enables RFC 1483 ATM bridging or RFC 1490 Frame Relay bridging to
map a bridged VLAN to an ATM PVC or Frame Relay DLCI.
policy-map Creates or modifies a policy map that can be attached to one or more
interfaces to specify a service policy.
priority Gives priority to a traffic class in a policy map.
service-policy Attaches a policy map to an input interface or VC, or an output interface or
VC, to be used as the service policy for that interface or VC.
shape (percent) Specifies average or peak rate traffic shaping on the basis of a percentage of
bandwidth available on an interface.
show policy-map Displays the configuration of all classes for a specified service policy map
or all classes for all existing policy maps.
show policy-map
interface
Displays the packet statistics of all classes that are configured for all service
policies either on the specified interface or subinterface or on a specific
PVC on the interface.
Comments to this Manuals