RE: Rate-Limiting

From: Cameron, John (johcamer@cisco.com)
Date: Tue Apr 15 2003 - 13:19:46 GMT-3


Scott,

If I understand your question correctly - the reason that the CLI
reset your bps value is that this value has to be in increments of
8000.

"bps" Average rate, in bits per second (bps). The value must be in
increments of 8 kbps.
 

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fqos
_r/qrfcmd8.htm#1037428

Also if you want the second rate-limit statement to be reviewed then
yes 'set-prec-continue' is the correct command.

HTH,
JDC

-----Original Message-----
From: Scott M. Livingston [mailto:scottl@sprinthosting.net]
Sent: Tuesday, April 15, 2003 10:49 AM
To: ccielab@groupstudy.com
Subject: Rate-Limiting

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:53 GMT-3