From: Ryan B (ryanb@pobox.com)
Date: Fri Feb 21 2003 - 02:48:49 GMT-3
Instead of creating four policy maps you should be creating one and applying
it to the interfaces. AFAIK all interfaces can have only two
service-policy's - one inbound and one outbound.
So you should have something like:
class-map match-all FASTE
match input-interface FastEthernet0/0
!
class-map match-all WWW
match protocol http
!
! Note that this was changed from "match-all" to "match-any" - or else it
would never match anything
class-map match-any TELNET-FTP
match protocol ftp
match protocol telnet
policy-map qos-examp
class FASTE
bandwidth percent 15
class WWW
bandwidth percent 45
class TELNET-FTP
bandwidth percent 15
class class-default
fair-queue
Another thing I changed was removing the class for "all other traffic" and
using the existing "class-default"... The reason is that queuing is FIFO
within the defined classes (unless using WRED) and generally fair-queue is
desirable for the other flows. But this is subject to personal preference
and needs... Also, IIRC the max-reserved-bandwidth is 75% of the interface
bandwidth so you would have to lower the percentages in the bandwidth
commands a bit (or change the max-reserved-bandwidth).
Cisco has some really good documentation on this stuff, you would do well to
read it. Don't count on the above config working as-is, it's just an
example =)
Ryan Benigno, CCIE #5847
----- Original Message -----
From: "CCIE FUN" <ccieexam2002@yahoo.com>
To: <khalid_ameen@rayaintegration.com>
Cc: <ccielab@groupstudy.com>
Sent: Thursday, February 20, 2003 5:15 PM
Subject: RE: Custom Queuing byte count calculation
> I tried this solution using CBWFQ
> i created different class-maps for different protocol
> types etc.
> Created policy maps etc.
> NO MY PROBLEM is i have 4 policy-maps tied to the
> class-maps.
> HOW DO I TIE THOSE 4 TOGETHER AND APPLY IT TO THE
> SUBINTERFACES.
>
> I CAN TIE ON CLASS TO THE ONE SINGLE FRAME-RELAY MAP
> CLASS AND THEN TIE IT TO THE SUBINTERFACE.
>
> but what about the remaining 3 traffic types.
>
> can you help me out. how do i tie these classes
> together and apply it to the single interface.
> i have included the relevant config below.
> ---------------------------------------------
> !
> class-map match-all PERMITANY
> match access-group 1
> class-map match-all FASTE
> match input-interface FastEthernet0/0
> class-map match-all WWW
> match protocol http
> class-map match-all TELNET-FTP
> match protocol ftp
> match protocol telnet
> !
> !
> policy-map PERMITANY
> class PERMITANY
> bandwidth percent 20
> policy-map FASTE
> class FASTE
> bandwidth percent 15
> policy-map WWW
> class WWW
> bandwidth percent 50
> policy-map TELNET-FTP
> class TELNET-FTP
> bandwidth percent 15
>
> -------------------------------------------------
>
>
>
>
>
>
> --- "Khalid A. Kaseb"
> <khalid_ameen@rayaintegration.com> wrote:
> > It is better to achieve this using CBWFQ as you can
> > explicit specify
> > your traffic classes and the percentage of B.W. it
> > may take, then apply
> > the your policy using service-policy command , here
> > is sample confi.
> > Class-map match-all dlsw
> > Match protocol dlsw
> > Bandwidth-percentage 15
> > And so on
> > Correct me if I am wrong
> > Thanks
> > Khalid
> >
> >
> > -----Original Message-----
> > From: nobody@groupstudy.com
> > [mailto:nobody@groupstudy.com] On Behalf Of
> > CCIE FUN
> > Sent: Wednesday, February 19, 2003 5:37 AM
> > To: ccielab@groupstudy.com
> > Subject: Custom Queuing byte count calculation
> >
> > Hello Group
> > Can anybody explain the best way to calculate the
> > byte-count. i am working on a example
> > "it says that configure custome queueing on frame
> > cloud so if congestion occurs then:
> >
> > www traffic gets 50% traffic
> > FTP /Telnet get 15%
> > Traffic from e0/0 gets 15%
> > rest of the traffic shares the remaining bandwidth.
> >
> > Now how do i determine the byte-count in this case.
> > I have worked on examples which provide the
> > predetermined byte-counts, the DOC CD has a nice
> > example on that.
> > But have always stumbled upon the kind of examples i
> > explained above.
> >
> > any help would be appreciated.
> >
> > thanks
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Shopping - Send Flowers for Valentine's Day
> > http://shopping.yahoo.com
> >
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, more
> http://taxes.yahoo.com/
This archive was generated by hypermail 2.1.4 : Sat Mar 01 2003 - 11:06:30 GMT-3