[c-nsp] VoIP QoS Policy

Brian Feeny signal at shreve.net
Thu Feb 17 10:19:42 EST 2005


I am making a basic QoS policy to install on some of our routers here, 
to give some QoS to VoIP.
Eventually I will come up with a more thorough QoS plan but for now it 
just needs to take care of
VoIP.  The VoIP is using SIP not skinny.  Any comments on the below 
policy, or anything I may be
leaving out?  My goal is to identify VoIP traffic, mark the voice as 
EF, and the control stuff as AF31,
then look at anything else that was marked (by endusers) as EF/CS3/AF31 
and remark it to 0.

Also, does using the NBAR stuff such as "match protocol rtp audio" 
accomplish the same thing
as "match ip rtp 16384 16383"?

Brian


class-map match-all QoS-VoIP-Control
   match access-group name SIP-Control
class-map match-all QoS-VoIP-RTCP
   match ip rtp 16384 16383
class-map match-any QoS-VoIP-Remark
   match ip dscp ef
   match ip dscp cs3
   match ip dscp af31
!
ip access-list extended SIP-Control
  permit udp any any eq 5060
!
!!! Input Policy
!
policy-map Mark-DSCP
   class QoS-VoIP-RTCP
    set ip dscp ef
   class QoS-VoIP-Control
    set ip dscp af31
   class QoS-VoIP-Remark
    set ip dscp default
!
!!! Output Policy
!
policy-map QoS-Policy
   class QoS-VoIP-RTCP
     bandwidth percent 20
   class QoS-VoIP-Control
    bandwidth percent 5
   class class-default
    fair-queue
      set ip dscp default




---------------------------------------------
Brian Feeny, CCIE #8036, CISSP
Network Engineer
ShreveNet Inc.



More information about the cisco-nsp mailing list