CBWFQ CONFIGURATION
Configuration examples by C.Filsfils

EXAMPLE 1

class-map f
  class class1
    ban x
  class class-default
    ban y

int s1
  ban z
  service f


==> the requirement is (x+y)/z <= 0.75
EXAMPLE 2
policy-map wfq
 class wfq
    bandwidth 1300
    random-detect   <=== configure RED, this helps TCP

 class class-default
    bandwidth 200   <=== 1300+200=75%(2000)

==> this effectively means that you allocate 1300/1500=87% of the
    BW to the wfq class and 13% to the rest

!         
interface ATM1/0.8 point-to-point
 description to CERN (diffserv)
 bandwidth 2000
 ip address 192.168.60.6 255.255.255.252
 no ip directed-broadcast
 pvc 8/8  
  service-policy output wfq
  vbr-nrt 2000 2000 1
  encapsulation aal5mux ip
 !        
!         

[end]