03-20-2007 04:33 AM - edited 03-03-2019 04:14 PM
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
03-26-2007 06:31 AM
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:
03-26-2007 06:36 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide