From: Brian McGahan (bmcgahan@internetworkexpert.com)
Date: Mon Mar 15 2004 - 14:41:28 GMT-3
Wow this is great, either it was misdocumented in the first place,
or they changed the behavior and failed to inform me ;)
Scratch what I said before, the "bandwidth remaining percent" now
does a relative bandwidth reservation of the available bandwidth of the
interface must like the "bandwidth percent" command's behavior in a pre
12.2T version.
Example:
Router#sh ver | in IOS
IOS (tm) C2600 Software (C2600-J1S3-M), Version 12.2(15)T7, RELEASE
SOFTWARE (fc2)
class-map match-all A
match access-group name A
!
policy-map XYZ
class A
bandwidth percent 10
!
interface Ethernet0/0
max-reserved-bandwidth 100
service-policy output XYZ
Router#sh queue e0/0 | in Available
Available Bandwidth 9000 kilobits/sec
Ethernet interface with 10Mbps available, 1Mbps has been reserved
with the "bandwidth percent 10" (10% of 10Mbps = 1Mbps), now 9Mbps is
available. This is the 12.2T and 12.3 behavior of the "bandwidth percent"
command.
Now change it to remaining percent:
policy-map XYZ
class A
bandwidth remaining percent 10
Router#sh queue e0/0 | in Available
Available Bandwidth 10000 kilobits/sec
Now it is a relative reservation of what is available. This is the
12.2T/12.3 behavior of "bandwidth remaining percent", and the 12.2 behavior
of "bandwidth percent" :)
HTH,
Brian McGahan, CCIE #8593
bmcgahan@internetworkexpert.com
Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987 x 705
Outside US: 775-826-4344 x 705
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> asadovnikov
> Sent: Sunday, March 14, 2004 10:21 AM
> To: 'John Matijevic'; 'William Chen'; 'Brian McGahan';
> alsontra@hotmail.com
> Cc: ccielab@groupstudy.com
> Subject: RE: converting custom queue to cbwfq
>
> Does not work on 12.3.6
>
> R1(config-cmap)# class-map match-all P1
> R1(config-cmap)# match ip precedence 1
> R1(config)# class-map match-all P2
> R1(config-cmap)# match ip precedence 2
> R1(config-cmap)# policy-map myPolicy
> R1(config-pmap)# class P1
> R1(config-pmap-c)# bandwidth percent 30
> R1(config-pmap-c)# class P2
> R1(config-pmap-c)# bandwidth percent 20
> R1(config-pmap-c)#bandw
> R1(config-pmap-c)#bandwidth rem
> R1(config-pmap-c)#bandwidth remaining p
> R1(config-pmap-c)#bandwidth remaining percent 30
> All classes with bandwidth should have consistent units
> R1#do show ver | i 12.3
> IOS (tm) C806 Software (C806-K9OSY6-M), Version 12.3(6), RELEASE SOFTWARE
> (fc3)
>
> I think documentation referenced earlier is no good. Anybody opened a
> case
> with Cisco TAC yet?
>
> Best regards,
> Alexei
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> John
> Matijevic
> Sent: Sunday, March 14, 2004 9:28 AM
> To: 'William Chen'; 'Brian McGahan'; alsontra@hotmail.com; 'Tom Wojahn'
> Cc: ccielab@groupstudy.com
> Subject: RE: converting custom queue to cbwfq
>
>
> Hello William,
> I believe that you would want to use the bandwidth remaining-percent, only
> if you have configured the bandwidth-percent. Because then if you have
> allocated bandwidth above the 75%. Then you decide how the remaining
> percentage will be allocated. Here is an example from Cisco:
>
> the first example, policy-map foo guarantees 30 percent of the bandwidth
> to
> class bar and 60 percent of the bandwidth to class baz.
>
> policy-map foo
> class bar
> bandwidth percent 30
> class baz
> bandwidth percent 60
> Applying this policy to a 1 Mbps link means 300 kbps is guaranteed to
> class
> bar, and 600 kbps is guaranteed to class baz. Importantly, 100 kbps is
> leftover for class-default. If class-default does not need it, the unused
> 100 kbps is available for use by class bar and class baz. If both classes
> need the bandwidth, they share it in proportion to the configured rates.
> In
> this configuration, the sharing ratio is 30:60 or 1:2.
>
> This next example combines the bandwidth percent command with the
> bandwidth
> remaining percent command to explicitly control the allocation of the
> unused
> 100 kbps of bandwidth. With this configuration, the 100 kbps is shared
> between class bar and baz in an 80:10 (8:1) ratio.
>
> policy-map foo
> class bar
> bandwidth percent 30
> bandwidth remaining percent 80
> class baz
> bandwidth percent 60
> bandwidth remaining percent 10
>
> Hopefully this helps clarify :)
>
> As far as not being able to use the commands together I think, it probably
> is an IOS issue, as I have 12.2 running at home, and I don't even see the
> bandwidth remaining-percent. I would try to see if it works on another
> 12.2
> IOS version. Sincerely, John Matijevic
>
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> William Chen
> Sent: Saturday, March 13, 2004 10:29 PM
> To: Brian McGahan; alsontra@hotmail.com; 'Tom Wojahn'
> Cc: ccielab@groupstudy.com
> Subject: Re: converting custom queue to cbwfq
>
> Dear Brian,
>
> I tried your example of using bandwidth remaining percent command, but
> I
> can't make it working.
>
> > Now suppose that you want class C to get more of the default class
> > when there is saturation of everything except the default class. This
> is
> > the case where it is appropriate to configure the "bandwidth remaining
> > percent" such as follows:
> >
> > Policy-map XYZ
> > Class A
> > Bandwidth percent 30
> > bandwidth remaining percent 25
> > Class B
> > Bandwidth percent 20
> > bandwidth remaining percent 25
> > Class C
> > Bandwidth percent 10
> > bandwidth remaining percent 50
> >
>
> ### My Testnig:
> R1#sh ver
> Cisco Internetwork Operating System Software
> IOS (tm) 3600 Software (C3640-JK9O3S-M), Version 12.2(15)T7, RELEASE
> SOFTWARE (fc2) ...... R1#sh run ...... ! class-map match-all P1
> match ip precedence 1
> class-map match-all P2
> match ip precedence 2
> class-map match-all P3
> match ip precedence 3
> !
> !
> policy-map myPolicy
> class P1
> bandwidth percent 30
> class P2
> bandwidth percent 20
> class P3
> bandwidth percent 10
> !
> ......
> R1#conf t
> Enter configuration commands, one per line. End with CNTL/Z.
> R1(config)#policy-map myPolicy R1(config-pmap)#class P1
> R1(config-pmap-c)#bandwidth remaining percent 25 All classes with
> bandwidth
> should have consistent units ....
>
> It seems I can only apply either "bandwidth percent" or "bandwidth
> remaining percent". Moreover, what is the difference between using
> "bandwidth percent" with "bandwidth remaing percent" alone, if the
> "bandwidth remaining percent" is to reserved bandwidth out of class-
> default
> (i.e 100% if I don't make any reservation before)?
>
> Best Regards,
> William Chen
>
> _______________________________________________________________________
> Please help support GroupStudy by purchasing your study materials from:
> http://shop.groupstudy.com
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Please help support GroupStudy by purchasing your study materials from:
> http://shop.groupstudy.com
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Please help support GroupStudy by purchasing your study materials from:
> http://shop.groupstudy.com
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Thu Apr 01 2004 - 08:15:28 GMT-3