Cisco 4506 Policy-Map

Unanswered Question
Mar 20th, 2007
User Badges:

I am trying to configure a port to only allow 10meg throughput. I have looked at configuring a Policy-Map and doing some form of police, I have done this before on previous Cisco Platforms but not confident that what I am trying to implement will work.


I would usually do the following on another platform:-



policy-map "client"

class class-default

police 1000000 187500 375000 conform-action transmit exceed-action drop


Interface


service-policy input Subscription

service-policy output Subscription


Using the calculation for 10meg with the x1/8x1.5 and then for x2.


BUT, on the 4506 it only uses some of the calculation which I cannot work out. for example I would use:-


policy-map "client"

class class-default

police 1000000 187500 conform-action transmit exceed-action drop


Interface


service-policy input Subscription

service-policy output Subscription


BUT again not confident that this will work.


Anyone got any ideas or can they explain the calculation to use for above, as I guess it dosent work based on my first example?


Kind Regards


Steven


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
brispin Mon, 03/26/2007 - 06:31
User Badges:

Try this: use two-rate policer


Two-Rate Policer performs the following functions:


Limits the input or output transmission rate of a class of traffic based on user-defined criteria.

Marks packets by setting the IP precedence value, IP differentiated services code point (DSCP) value, Multiprotocol Label Switching (MPLS) experimental value, Quality of Service (QoS) group, ATM Cell Loss Priority (CLP) bit, and the Frame Relay Discard Eligibility (DE) bit.


Refer this link:


http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122newft/122t/122t4/ft2rtplc.htm#1029994

sadcock123 Mon, 03/26/2007 - 06:36
User Badges:

Thank you for the info.


I applied the following last week:-


policy-map *****

class class-default

police 10000000 1875000 conform-action transmit exceed-action drop


Interface


service-policy input *****

service-policy output *****



Seemed to do the Job.


I will keep that info for future ref.


Cheers


Steven

Actions

This Discussion