Defining Rate-Limit

Unanswered Question
Aug 23rd, 2008
User Badges:

I have a 2 MBps link and I want to to reserve 1.5 MBps for SMTP only. Pls suggest the best way to do this. Currently I have done thru 'rate-limit' as per below config. pls check the same and suggest the best configs.


rate-limit input access-group 102 2000000 375000 750000 conform-action transmit exceed-action drop


access-list 102 permit tcp any any eq smtp


Anis

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
smalkeric Thu, 08/28/2008 - 14:27
User Badges:
  • Silver, 250 points or more

To configure an access list for use with committed access rate (CAR) policies, use the access-list rate-limit global configuration command


access-list rate-limit acl-index {precedence | mac-address | exp | mask mask}

The following command help you to get more info:

http://www.cisco.com/en/US/docs/ios/12_2/switch/command/reference/xrfscmd1.html#wp1057318


md_ani Thu, 08/28/2008 - 20:44
User Badges:

Thanks Dear,


But from the link provided I am not able to understand how to provide precedence to some IPs for SMTP only. In my case I have 2 MB Internet Link & I want to restrict 1.5 MB for SMTP only for some IPs.


Anis

Marwan ALshawi Thu, 08/28/2008 - 21:06
User Badges:
  • Purple, 4500 points or more
  • Community Spotlight Award,

    Best Publication, December 2015

let say the IPs are 192.168.1.2 192.168.1.3


do like ;


access-list 100 permit tcp host 192.168.1.2 any eq 25


access-list 100 permit tcp host 192.168.1.3 any eq 25


class-map smtp

match access-group 100


policy-map smtp-policy

class smtp

police 150000 exceed-action drop


interface [outside interface to WAN]

service-policy output smtp-policy


if helpful rate

md_ani Thu, 08/28/2008 - 21:38
User Badges:

Thanks Dear,

Actually I have already applied the ACL as suggested but towards Inside and the problem I am facing in it is users are not able to receive attachments (in mail) more than 1 to 1.5 MB although Mail is coming. Hope this is becoz we have given 'drop' as action but I have tried other options also but the result is same.


Anis

Actions

This Discussion