RE: random-detect precedence 5 40 60 20-Confusion

From: Lewis, Ray (rlewis@bofasecurities.com)
Date: Thu May 01 2003 - 18:26:10 GMT-3


I don't believe there are any percentages involved.

The 5 is for precedence level
The 40 is min threshold, # of packets
The 60 is max threshold, # of packets
The 20 is the probability denominator
        In a fraction such as 1/2, the numerator is 1 and the denominator is
2. So in this case, the 20 is on the bottom of the fraction, ie, 1/20,
which happens to = 5% (and has nothing to do with the 1st "5" in the
statement.)

As far as the WRED action:
When there are less then 40 packets (min thresh) in the queue = no drops.

When there are between 40 packets (min thresh) and 60 packets (max thresh)
in the queue, drop at a rate of 1/20 or 5%.

If more than 60 packets in queue, drop everything.

Can anyone confirm this?

config example below..

r1(config-if)#random-detect precedence ?
  <0-7> IP precedence
  rsvp rsvp traffic

r1(config-if)#random-detect precedence 5 ?
  <1-4096> minimum threshold (number of packets)

r1(config-if)#random-detect precedence 5 40 ?
  <1-4096> maximum threshold (number of packets)

r1(config-if)#random-detect precedence 5 40 60 ?
  <1-65535> mark probability denominator
  <cr>

r1(config-if)#random-detect precedence 5 40 60 20 ?
  <cr>

r1(config-if)#random-detect precedence 5 40 60 20
r1(config-if)#

-----Original Message-----
From: Diment, Andrew [mailto:adiment@qwest.com]
Sent: Monday, April 21, 2003 10:33 AM
To: ccielab@groupstudy.com
Subject: RE: random-detect precedence 5 40 60 20-Confusion

Your close, when the buffers is between 40% and 60% full you will drop 1 in
20 packets. After 60% you will drop all of the packets. Of course in
reality you would never do this with precedence 5 packets.

Andy

-----Original Message-----
From: Kash [mailto:kash2331@yahoo.com]
Sent: Monday, April 21, 2003 8:15 AM
To: Daniel Cisco Group Study; Jeongwoo Park
Cc: ccielab@groupstudy.com
Subject: RE: random-detect precedence 5 40 60 20-Confusion

Hi

I might be wrong on this but can someone correct me
the 5 on the command means the precedence right, not
5%.

The way I interpret this is that on all packets that
have precedence value of 5 and if they remain in the
40-60 range than its ok if it goes higher than 60 than
randonmly 1 packet out of 20 will be dropped(having
precedence 5)

Kashif Ali

--- Daniel Cisco Group Study <danielcgs@imc.net.au>
wrote:
> My understanding agrees...
>
> Anyone else?
>
> Daniel
>
>
> -----Original Message-----
> From: Jeongwoo Park [mailto:jpark@wams.com]
> Sent: Friday, 18 April 2003 11:50
> To: 'ccielab@groupstudy.com'
> Subject: random-detect precedence 5 40 60 20
>
>
> Hi all,
> I am trying to interpret the last parameter of this
> command.
> At the router it is showing as following;
>
> r4(config-if)#random-detect precedence 5 40 60 ?
> <1-65536> mark probability denominator
> <cr>
>
> r4(config-if)#random-detect precedence 5 40 60 20
>
> Does this mean that if the number of packets exceed
> the range of 40 to 60,
> the router would randomly drop the packet at the
> rate of 5%, a packet for
> every 20 packets?
> Did I interpret it correctly?
>
> Thanks a lot.
>
> JP
>
>
>
**********************************************************************
> This email and any files transmitted with it are
> confidential and
> intended solely for the use of the individual or
> entity to whom they
> are addressed. If you have received this email in
> error please notify
> the system manager.
> This footnote also confirms that this email message
> has been swept by
> MIMEsweeper for the presence of computer viruses.
> www.mimesweeper.com
>
**********************************************************************



This archive was generated by hypermail 2.1.4 : Mon Jun 02 2003 - 15:13:35 GMT-3