Re: police percent

From: Jim Nguyen (nhatquang@thiennam.org)
Date: Wed Apr 13 2005 - 10:19:35 GMT-3


checking with the link & command reference but I am still not sure what the
Doc means. Anyone can give an example
of what the line below states?

"The bandwidth (policy-map class) and priority commands can be used to
calculate the total amount of bandwidth available on an entity (for example, a
physical interface). "

  ----- Original Message -----
  From: Gajewski Mariusz
  To: ccielab@groupstudy.com
  Sent: Wednesday, April 13, 2005 5:55 PM
  Subject: police percent

  Hi guys,
      I just took an example from doc-cd :
  ---------------------------------
  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 will use 512 kbps, the peak rate, as the bandwidth
  reference point for class
  parent in the parent_policy. The police (percent) command will use 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
  will look to the next
  ===========================
  higher level (in this case Serial interface 4/0) to get the bandwidth
  reference point. Assuming the
  bandwidth of the Series interface s4/0 is 1.5 Mbps, the police (percent)
  command will use 1.5 Mbps as
  the basis for calculating the cir rate (1500000 * 30 percent).

  ---------------------------- /end of example

  And in the next paragraph , doc-cd says :

  "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)"

  I don't understand why once bandwidth doesn't represent the maximum rate of
  bandwidth available , but next-time bandwidth can be used to calculate the
  total amount of
  bandwidth available on physical interf. It seems to me that one contradicts
  the other. I'm missing something here, but don't know what.
  Anyone can shed some light on it ?

  Thanks in advance,
  Mariusz

  _______________________________________________________________________
  Subscription information may be found at:
  http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Tue May 03 2005 - 07:54:57 GMT-3