Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Traffic limiting by IP address(s)

HI all,

In a simple "WAN + LAN port" router, if I am to reserve a certain amount of BW(say 300K out of 512K) for a specific device(say with IP 10.1.1.1), i.e. in other words to set a max. BW limit(i.e. 200K) to all other traffic(except that IP). Can you guys shine me some lights on the following config??

interface s0

bandwidth 512K

rate-limit input access-group 101 200000 4000 4000 confirm-action set prec- transmit 3 exceed-action drop

!

rate-limit output access-group 102 200000 4000 4000 confirm-action set prec-transmit 3 exceed-action drop

!

!

Ethernet E0

ip add 10.1.1.254 255.255.255.0

!

access-list 101 deny ip any host 10.1.1.1 (to match non-conforming traffic)

access-list 102 deny ip host 10.1.1.1 any (to match non-conforming traffic)

!

!

TIA

1 REPLY
Silver

Re: Traffic limiting by IP address(s)

Access list should have atr least a permit. Hence, it will be better to use

access-list 101 deny ip any host 10.1.1.1 (to match conforming traffic)

access-list 101 permit ip any any

access-list 102 deny ip host 10.1.1.1 any (to match conforming traffic)

access-list 102 permit ip any any

And your normal burst size would normally be the transmit rate divided by 8 i.e. 200000 / 8 = 25000. If you will not allow it to burst higher, then maximum burst byte will also 25000, or else a typical value will 25000 x 1.5 = 37500.

Regards

97
Views
0
Helpful
1
Replies