RE: WRED

From: Scott Morris (swm@emanon.com)
Date: Mon Jan 13 2003 - 01:19:08 GMT-3


That would work. I'm not sure I'd go so far as to do Flow WRED, but I'd
ask the proctor. You can just as easily tag it and go on.

Class-map telnet
  match ip address 142

Access-list 142 permit tcp any any eq telnet

Policy-map mark-telnet
  class telnet
    set ip dscp 1

Set the service policy inbound to any interfaces to mark traffic as it
arrives.

On the outbound interface, have:

Random-detect dscp 1 20 40 10

And that will take all previously marked traffic and limit it
effectively.

You CAN indeed specify a queue like you have done there and use the same
generic random-detect command. So multiple ways to skin the cat!

Hope this helps,

Scott

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Solomon Ghebremariam
Sent: Sunday, January 12, 2003 3:09 PM
To: Scott Morris
Cc: 'pita40'; ccielab@groupstudy.com
Subject: RE: WRED

 Scott
        So this means using class to match the traffic of interest and
applying the WRED parameters won't work?

Ex.
        Class-map WRED_TELNET

                match ip address 142

        access-list 142 permit tcp any any eq telnet

        Policy-map DROP_TELNET
                class WRED_TELNET
                bandwidth 2048
                random-detect flow

                random-detect flow average-depth-factor 20
                random-detect flow count 40

and applying service policy DROP_TELNET to the interface??? or I am off
base here? What is the best way of applying WRED to a specific traffic
type?

solomon

At 11:15 AM 1/12/2003 -0500, Scott Morris wrote:

  There are a couple different ways to do it, but the bottom line is
  that
  you classify your traffic before deciding how to handle it.

  For example, set up a CBWFQ and one queue deals with telnet traffic.
  Within this queue you use random-detect with the parameters you have
  mentioned.

  Another way is to mark the traffic on ingress perhaps even with
  policy
  routing. Set a DSCP tag onto the traffic. Then use random-detect
  dscp
  with the values you have listed on the egress point.

  AFAIK, there isn't an ACL parameter on any of the random-detect
  command
  lines.

  Enjoy!

  Scott

  -----Original Message-----
  From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf
  Of
  pita40
  Sent: Sunday, January 12, 2003 10:11 AM
  To: ccielab@groupstudy.com
  Subject: WRED

  I am trying to configure WRED. I can configure WRED based on
  precedence
  but I am having difficulty finding in CCO how to configure based on
  different types of ip traffic.

  For example.

  Configure WRED so that telnet traffic will be randomly dropped if
  queue
  lenght is over 20 and completely droped if over 40

  I am having proble with specify telnet traffic in the configuration.
  Please help. .
  .
.



This archive was generated by hypermail 2.1.4 : Sat Feb 01 2003 - 07:33:48 GMT-3