Specifications
B-261
Cisco MWR 2941 Mobile Wireless Edge Router Software Configuration Guide, Release 12.2(33)MRB
OL-21227-02
Appendix B Cisco MWR 2941 Router Command Reference
police (percent)
the next higher level (in this case, the physical interface, the highest point in the hierarchy) as the
reference point. The police (percent) command always looks to the next higher level for the bandwidth
reference point. The following sample configuration illustrates this point:
Policymap parent_policy
class parent
shape average 512000
service-policy child_policy
Policymap child_policy
class normal_type
police cir percent 30
In this sample configuration, there are two hierarchical policies: one called parent_policy and one called
child_policy. In the policy map called child_policy, the police command has been configured in the class
called normal_type. In this class, the percentage specified by for the police (percent) command is
30 percent. The command uses 512 kbps, the peak rate, as the bandwidth reference point for class parent
in the parent_policy. The police (percent) command uses 512 kbps as the basis for calculating the cir
rate (512 kbps * 30 percent).
interface serial 4/0
service-policy output parent_policy
Policymap parent_policy
class parent
bandwidth 512
service-policy child_policy
In the above example, there is one policy map called parent_policy. In this policy map, a peak rate has
not been specified. The bandwidth command has been used, but this command does not represent the
maximum rate of bandwidth available. Therefore, the police (percent) command looks to the next higher
level (in this case serial interface 4/0) to get the bandwidth reference point. Assuming the bandwidth of
serial interface 4/0 is 1.5 Mbps, the police (percent) command uses 1.5 Mbps as the basis for calculating
the cir rate (1500000 * 30 percent).
How Bandwidth Is Calculated
The police (percent) command is often used in conjunction with the bandwidth and priority commands.
The bandwidth and priority commands can be used to calculate the total amount of bandwidth available
on an entity (for example, a physical interface). When the bandwidth and priority commands calculate
the total amount of bandwidth available on an entity, the following guidelines are invoked:
• If the entity is a physical interface, the total bandwidth is the bandwidth on the physical interface.
• If the entity is a shaped ATM permanent virtual circuit (PVC), the total bandwidth is calculated as
follows:
–
For a variable bit rate (VBR) virtual circuit (VC), the sustained cell rate (SCR) is used in the
calculation.
–
For an available bit rate (ABR) VC, the minimum cell rate (MCR) is used in the calculation.
For more information on bandwidth allocation, refer to the “Congestion Management Overview” chapter
in the Cisco IOS Quality of Service Solutions Configuration Guide.