Re: converting custom queue to cbwfq

From: William Chen (kwchen@netvigator.com)
Date: Sun Mar 14 2004 - 00:28:31 GMT-3


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



This archive was generated by hypermail 2.1.4 : Thu Apr 01 2004 - 08:15:19 GMT-3