AutoQos for Routers

From: gladston@br.ibm.com
Date: Thu Aug 11 2005 - 13:27:02 GMT-3


Hi,

Considering the configs created by AutoQos:

 class-map match-any AutoQoS-VoIP-Remark
  match ip dscp ef
  match ip dscp cs3
  match ip dscp af31
 class-map match-any AutoQoS-VoIP-Control-UnTrust
  match access-group name AutoQoS-VoIP-Control
 class-map match-any AutoQoS-VoIP-RTP-UnTrust
  match protocol rtp audio
  match access-group name AutoQoS-VoIP-RTCP
 class-map match-all Select-cos
  match cos 4

 policy-map AutoQoS-Policy-UnTrust
  class AutoQoS-VoIP-RTP-UnTrust
   priority percent 70
   set dscp ef <-------------------------1
  class AutoQoS-VoIP-Control-UnTrust
   bandwidth percent 5
   set dscp af31
  class AutoQoS-VoIP-Remark
   set dscp default <-------------------------2
  class class-default
   fair-queue

ip access-list extended AutoQoS-VoIP-Control
 permit tcp any any eq 1720
 permit tcp any any range 11000 11999
 permit udp any any eq 2427
 permit tcp any any eq 2428
 permit tcp any any range 2000 2002
 permit udp any any eq 1719
 permit udp any any eq 5060

ip access-list extended AutoQoS-VoIP-RTCP
 permit udp any any range 16384 32767

I am wondering about this:

-On number 3, any packets previous marked with EF are remarked to best effort.
-On number 2, RTP packets are marked with EF.
Suppose RTP packets enters this router with EF marked. There will be two actions, number 2 will select/mark it with EF (which is already marked) and number 3 will select/mark it with best effort.

That does not make sense. What am I loosing?

And, why class-map AutoQoS-VoIP-RTP-UnTrust matches the same packet two times?
Isn't 'match protocol rtp audio' the same as "permit udp any any range 16384 32767"?



This archive was generated by hypermail 2.1.4 : Sun Sep 04 2005 - 17:01:19 GMT-3