Rate-Limiting

From: Scott M. Livingston (scottl@sprinthosting.net)
Date: Tue Apr 15 2003 - 11:49:18 GMT-3


Good Morning,
 
So I am trying to limit certain traffic and I need to know if my configs
are correct. With the first statement I am trying to limit some traffic
to 150kbps. When I configure this first statement I actually plug in
150000 for the 'Bits per second' then use the formula (rate / 8 * 1.5)
to use value 28125 for the normal burst. Since I don't want to burst I
configure the Be as the same as the normal burst. After I configure this
first statement the IOS converts my explicitly typed 150000 to 144000.
So my question is; does the IOS recognize that I don't want to burst w/
what values I used for Bc and Be? I used 'set-prec-continue' instead of
'set-prec-transmit' so that the second rate-limit statement can be
reviewed by the router - did I use this command correctly?
 
Also, the same thing that happened to my first rate limit statement
happened to my second. In the second I only want to allow 300kbps; so
that is what I typed in, but because of what I plugged into the Bc and
Be (no burst) the IOS converted it for me so that there would be no
burst. Am I interpreting all this correct?
!
interface Ethernet0/0
 ip address 192.10.0.44 255.255.255.0
 ip pim sparse-dense-mode
 rate-limit input access-group 100 144000 28125 28125 conform-action
set-prec-continue 0 exceed-action drop
 rate-limit input access-group 101 296000 56250 56250 conform-action
set-prec-transmit 0 exceed-action drop
!
 
Thank You,
Scott



This archive was generated by hypermail 2.1.4 : Thu May 01 2003 - 13:35:52 GMT-3