Police and Bandwidth Allocation

From: soon ccie (soonccie@yahoo.com)
Date: Sun Mar 02 2003 - 19:00:23 GMT-3


Can anyone confirm that the total bandwidth specified in the police command seems bypass the
default 75% bandwidth check?

In the example below, s0/0 is T1, so 75% = 1,158,000, but 1,200,000 is accepted:
policy-map police-my
  class class-http
     police 1000000 conform-action transmit exceed-action drop
  class class-tftp
     police 200000 conform-action transmit exceed-action drop
  class class-default
   
int s0/0
 service-policy output police-my

My big question is then: Does the police command is actually allowcate the bandwidth to the
individual classes? Note that if I switch police to bandwidth command above, the policy would not
be accepted because of default 75% rule.

If I have a task stated as "ensure tftp traffic on int s0/0 to have 10% of bandwidth and drop the
traffic if it goes above 10%", so soln could it be(???):

policy-map police-my
  class class-tftp
     bandwidth percent 10 !****** should I add this line?
     police 154400 conform-action transmit exceed-action drop !***** 10% = 154,400
int s0/0
 service-policy output police-my !*** IOS accepts this.

Thanks.



This archive was generated by hypermail 2.1.4 : Sat Apr 05 2003 - 08:51:30 GMT-3