From: Daniel Paes (daniel.paes@netcabo.pt)
Date: Fri Apr 22 2005 - 10:22:52 GMT-3
Hi Mani,
Answers to your questions:
1-Since the default for the command "max-reserve-bandwidth" is 75% the
maximum allocable bw via MQC is 75% of the configured bw on the interface.
2-The default clas will be able to use as much as 75% of the link. By
default it doesn't have a minimum guaranteed (command "bandwidth") nor a
maximum (command "police") so it can use as much as the maximum.
3-If you don't input any command it will be anything from 0 to 75%, but
it's important to know that by defult it doesn't have any guaranteed minimum
bandwidth in case of congestion, until a "bandwidth" command (percent ou
Kbps) is included in the default class
4-The command "max-reserve-bandwidth 90" changes de default maximum
allocable bw from 75% to 90%. The ideia is that the maximum amount usable
for traffic should be 75% to leave space for network signaling, routing,
keepalive etc... Beeing like that if you have an interface with "bandwidth
128" configured, as a default maximum all your classe only will be able to
guarantee for them a maximum sum of 96Kbps (since 96 is 75% of 128) So you
can have a policy-map like this:
policy-map POLICY
class CLASS1
bandwidth 32
class CLASS2
bandwidth 32
class CLASS3
bandwidth 32
This will mean that in case of congestion classes 1 2 and 3 will have a
minumum guaranteed of 32 Kbps of the link, the class Default is guaranteed
none to 25% (since is what is left , but only usable if the legitime owner
of the 25% left (the internal processes) don't need it. But guaranteed
nothing.
If you try to put a minumum bw of 10 (bandwidth 10 in the class
class-default) in the class default with the above configuration after
aplying this policy to an 128 Kbps bandwidth configured interface, you'll
receive this message:
"class class-default requested bandwidth 10 (kbps) Available only 0 (kbps)"
Why? Since the default is 75% in a interface with bw 128 you can allocate as
much as 96, since our 3 classes already have 96 (3x 32Kbps) you cannot
allocate more for any class including the default.
If you put in the interface the command "max-reserve-bandwidth 90" you will
be saying that as much as 90% of 128 Kbps can be used for alocate in the
classes (which is 115 ) So now you could input the stated bandwidth command
of 10 on the default class, since 96 (of the previous configured classes)
plus 10 of the minumum for default class it will be 106 Kbps, which is below
the new 90% max that is 115Kbps, due to the command "max-reserve-bandwidth
90"
In a nutshell, interface bw is the max bandwidth usable per the stated
processes with the stated maximum defaults. Bandwith command inside classes,
is the minimum guaranteed bw that each class will have in case of
congestion. In case of no congestion they can have as much as the all link,
unless "police" command are used
ending config
----------------------------------
class-map match-all CLASS1
match (whatever you like)
class-map match-all CLASS2
match (whatever you like)
class-map match-all CLASS3
match (whatever you like)
policy-map POLICY
class CLASS1
bandwidth 32
class CLASS2
bandwidth 32
class CLASS3
bandwidth 32
class class-default
bandwidth 10
Int Ser 0
bandwidth 128
max-reserved-bandwidth 90
service-policy output POLICY
-----------------------------------------------
Hope that helped
Regards
Daniel
----- Original Message -----
From: "mani poopal" <mani_ccie@yahoo.com>
To: "Scott Morris" <swm@emanon.com>; "'John Matus'"
<john_matus@hotmail.com>; <ccielab@groupstudy.com>
Sent: Friday, April 22, 2005 1:35 PM
Subject: RE: precedence int cbwfq
> Hi Scott and GS member;
>
> I have a small(but important) doubt in MQC. Even after studying MQC a lot,
> (1.)What is the default bandwidth for MQC is it 75% of interface
bandwidth.
> (2.)Say the interface bandwidth is 100MB,is it only 75 MB available for
MQC, In that case is there is any default bandwidth allocated for class
default.
> (3.)Is there is any default bandwidht for class class-default and is it
75MB(assuming no classes are defined), If any classes are defined, what is
the bandwidith for class class-default
> (4.)the command -if)#max-reserve-bandwidth 90, the purpose, is it
increases the bandwidth available for MQC or bandwidth available for class
class-default
>
> thanks
>
> Mani
>
> Scott Morris <swm@emanon.com> wrote:
> Don't forget that "?" is your friend.
>
> Emanon-R1(config)#policy-map Set-This
> Emanon-R1(config-pmap)#class Who-Knows
> Emanon-R1(config-pmap-c)#?
> QoS policy-map class configuration commands:
> bandwidth Bandwidth
> compression Activate Compression
> drop Drop all packets
> exit Exit from QoS class action configuration mode
> no Negate or set default values of a command
> police Police
> priority Strict Scheduling Priority for this Class
> queue-limit Queue Max Threshold for Tail Drop
> random-detect Enable Random Early Detection as drop policy
> service-policy Configure QoS Service Policy
> set Set QoS values
> shape Traffic Shaping
>
>
> Emanon-R1(config-pmap-c)#set ?
> atm-clp Set ATM CLP bit to 1
> cos Set IEEE 802.1Q/ISL class of service/user priority
> discard-class Discard behavior identifier
> dscp Set DSCP in IP(v4) and IPv6 packets
> fr-de Set FR DE bit to 1
> ip Set IP specific values
> mpls Set MPLS specific values
> precedence Set precedence in IP(v4) and IPv6 packets
> qos-group Set QoS Group
>
> Emanon-R1(config-pmap-c)#
> -----Total Telnet Time 8.54 seconds-----
>
> Scott
> ;)
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
John
> Matus
> Sent: Thursday, April 21, 2005 6:26 PM
> To: ccielab@groupstudy.com
> Subject: precedence int cbwfq
>
> is there a way to mark precedence in cbwfq?
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today - it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
> B.ENG,A+,CCNA,CCNP,CCNP-VOICE, CSS1,CNA,MCSE
> (416)431 9929
> MANI_CCIE@YAHOO.COM
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Tue May 03 2005 - 07:55:06 GMT-3