[cisco-voip] Need help Verifying QoS configuration

Ruttman, Peter G. PRuttman at foley.com
Thu Dec 15 10:21:22 EST 2005


Okay, I installed a new office and it has a separate building with a WAN
link to the larger office.  There is no PRI connection there so they
rely on the WAN to get to the larger office to get to the PRI to make
outbound and receive inbound calls.  I have enabled QoS but we are still
receiving reports of robotic or choppy voice.  I decided I wanted to
move up the chain created a verify policy to make sure that on each
router I was seeing marked packets.  Surprisingly, I have been unable to
do this.  I see with the command 'show policy-map int' that I am getting
packets marked with dscp of EF at the router but when I try to do this
on the switches I am unable to create a proper class/policy design to
see the packets.

I found a doc for the 3550 to do QoS at the wiring closet and modified
that with no luck.  Here's the design that isn't working:

class-map match-any VOICE
  match access-group 1
!
!
policy-map VERIFY
  class VOICE
    set ip dscp 40 (I ultimately want to use dscp 46 but I saw some
errors when I didn't have something defined in the class in the policy
so I put this here.  I've defined my router to watch for dscp 40 as well
so I should see the counters grow there as well if I get this working.)


access-list 1 permit 10.33.109.30


interface GigabitEthernet0/1
 switchport trunk encapsulation dot1q
 switchport mode trunk
 no ip address
 speed nonegotiate
 service-policy input VERIFY
 auto qos voip trust
 wrr-queue bandwidth 20 1 80 1
 wrr-queue queue-limit 80 1 20 1
 wrr-queue cos-map 1 0 1 2 4
 wrr-queue cos-map 3 3 6 7
 wrr-queue cos-map 4 5
 priority-queue out
!
!
interface GigabitEthernet0/2
 switchport trunk encapsulation dot1q
 switchport mode trunk
 no ip address
 service-policy input VERIFY
 auto qos voip trust
 wrr-queue bandwidth 20 1 80 1
 wrr-queue queue-limit 80 1 20 1
 wrr-queue cos-map 1 0 1 2 4
 wrr-queue cos-map 3 3 6 7
 wrr-queue cos-map 4 5
 priority-queue out
!
For the port with the phone that is listed in the access-list I have
tried the following:

interface FastEthernet0/11
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 9
 switchport mode trunk
 switchport voice vlan 109
 no ip address
 spanning-tree portfast

Or:

interface FastEthernet0/11
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 9
 switchport mode trunk
 switchport voice vlan 109
 no ip address
 mls qos trust device cisco-phone
 mls qos trust cos
 auto qos voip cisco-phone
 wrr-queue bandwidth 20 1 80 1
 wrr-queue min-reserve 1 5
 wrr-queue min-reserve 2 6
 wrr-queue min-reserve 3 7
 wrr-queue min-reserve 4 8
 wrr-queue cos-map 1 0 1 2 4
 wrr-queue cos-map 3 3 6 7
 wrr-queue cos-map 4 5
 priority-queue out
 spanning-tree portfast

Or:

interface FastEthernet0/11
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 9
 switchport mode trunk
 switchport voice vlan 109
 no ip address
 mls qos trust device cisco-phone
 mls qos trust dscp
 auto qos voip cisco-phone
 wrr-queue bandwidth 20 1 80 1
 wrr-queue min-reserve 1 5
 wrr-queue min-reserve 2 6
 wrr-queue min-reserve 3 7
 wrr-queue min-reserve 4 8
 wrr-queue cos-map 1 0 1 2 4
 wrr-queue cos-map 3 3 6 7
 wrr-queue cos-map 4 5
 priority-queue out
 spanning-tree portfast

Here is the output to show policy-map int:

 GigabitEthernet0/1

  service-policy input: VERIFY

    class-map: VOICE (match-any)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      match: access-group 1
        0 packets, 0 bytes
        5 minute rate 0 bps

    class-map: class-default (match-any)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      match: any
        0 packets, 0 bytes
        5 minute rate 0 bps

 GigabitEthernet0/2

  service-policy input: VERIFY

    class-map: VOICE (match-any)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      match: access-group 1
        0 packets, 0 bytes
        5 minute rate 0 bps

    class-map: class-default (match-any)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      match: any
        0 packets, 0 bytes
        5 minute rate 0 bps





The preceding email message may be confidential or protected by the attorney-client privilege. It is not intended for transmission to, or receipt by, any unauthorized persons.  If you have received this message in error, please (i) do not read it, (ii) reply to the sender that you received the message in error, and (iii) erase or destroy the message.  Legal advice contained in the preceding message is solely for the benefit of the Foley & Lardner LLP client(s) represented by the Firm in the particular matter that is the subject of this message, and may not be relied upon by any other party.      

  
Internal Revenue Service regulations require that certain types of written advice include a disclaimer. To the extent the preceding message contains advice relating to a Federal tax issue, unless expressly stated otherwise the advice is not intended or written to be used, and it cannot be used by the recipient or any other taxpayer, for the purpose of avoiding Federal tax penalties, and was not written to support the promotion or marketing of any transaction or matter discussed herein.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://puck.nether.net/pipermail/cisco-voip/attachments/20051215/88bd2bdb/attachment-0001.html


More information about the cisco-voip mailing list