cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1276
Views
0
Helpful
1
Replies

Rate limit- Policy-map policing on ME3400

gregwoodson
Level 1
Level 1

I am trying to rate limit (both input and output) a port on an ME3400 to 1.5 Mb.  I have tried the old CAS commands:

rate-limit input 1500000 256000 256000 conform-action transmit exceed-action drop

rate-limit output 1500000 256000 256000 conform-action transmit exceed-action drop

This didnt work.

policy-map ratelimit-1.5Mb

class class-default

    police 1500000    conform-action transmit     exceed-action drop

service-policy input ratelimit-1.5Mb

This works for input- but not output.

Same with this:

policy-map ratelimit-1.5Mb

class class-default

     police rate 1500000

      conform-action transmit

      exceed-action drop

What is the correct way to do this?

Thanks

Greg

1 Reply 1

Jason M.
Level 1
Level 1

Hello Greg,

If "service-policy output **** " doesn't work for policing class default try marking the traffic coming into the switch on the uplink they policing that dscp value.

class-map match-all MATCH-DSCP
 match ip dscp cs1 

policy-map UPLINK
 class class-default
  set ip dscp cs1

Then under your output policy (different from input policy) use "class MATCH-DSCP" and set your policer. I suggest you add "queue-limit 544" to the output policy also to prevent output drops from queue congestion.

Output policy's can be tricky sometimes. I've had to nestle three policies deep to shape class default on a 3800. Manipulation of marked traffic seems to be easier.