CBWFQ configurations

From: Lam Binh (lambinh@hcm.vnn.vn)
Date: Tue Aug 05 2003 - 23:03:00 GMT-3


Hello Groups,
 
I would like to confirm whether my solution is correct or not.
 
The requirement to configure CBWFQ as follows:
 
- User in network 10.10.10.0/24 will get 20% BW
- FTP traffic will get 10% BW
- Voice traffic will get 40% BW
- All of the remain traffic will use the remain of the BW
 
I have two solution of configurations as:
 
1.
class-map match-all Voice
 match access-group 102
class-map match-all ftp
  match protocol ftp
class-map match-all net10
 match access-group 101
 
policy-map cbwfq
  class voice
   bandwidth percent 40
  class net10
   bandwidth percent 20
  class ftp
   bandwidth percent 10
  class class-default
   bandwidth percent 35
 
 
access-list 101 permit ip 10.10.10.0 0.0.0.255 any
access-list 102 permit udp any any range 16384 32767
access-list 102 permit udp any range 16384 32767 any
 
int se0/0
    service-policy output cbwfq
    max-reserved-bandwidth 100
 
2.
class-map match-all Voice
 match access-group 102
class-map match-all ftp
  match protocol ftp
class-map match-all net10
 match access-group 101
 
policy-map cbwfq
  class voice
   bandwidth percent 40
  class net10
   bandwidth percent 20
  class ftp
   bandwidth percent 10
  
access-list 101 permit ip 10.10.10.0 0.0.0.255 any
access-list 102 permit udp any any range 16384 32767
access-list 102 permit udp any range 16384 32767 any
 
int se0/0
    service-policy output cbwfq
    max-reserved-bandwidth 70
 
Please advise both above methods are correct or not to meet the
requirements?
Which one is referable?
 
thank you in advance!
 
Lam Binh



This archive was generated by hypermail 2.1.4 : Tue Sep 02 2003 - 18:53:53 GMT-3