Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

QoS help needed

Status
Not open for further replies.

DallasBPF

Technical User
Joined
Aug 24, 2007
Messages
595
Location
US
Ok, heres the thing, I have set up QoS on our Main router to set QoS going out to 3 different sites (we are using MPLS). Below is the config in Dallas

!
class-map match-any voice-traffic-acl
match access-group 105
match access-group 106
match access-group 107
class-map match-all voice-traffic
match class-map voice-traffic-acl
match dscp ef
class-map match-all voice-signal
match class-map voice-traffic-acl
match dscp cs3
!
!
policy-map Dallas_Corp-VoIP
class voice-traffic
priority percent 10
class voice-signal
bandwidth percent 2
class class-default
fair-queue
!
!
access-list 105 remark ***CLASSIFY VOICE TRAFFIC-HOUSTON***
access-list 105 permit ip 172.16.100.0 0.0.0.255 172.16.7.0 0.0.0.255
access-list 105 permit ip 172.16.101.0 0.0.0.255 172.16.7.0 0.0.0.255
access-list 106 remark ***CLASSIFY VOICE TRAFFIC-FTWORTH***
access-list 106 permit ip 172.16.100.0 0.0.0.255 172.16.5.0 0.0.0.255
access-list 106 permit ip 172.16.101.0 0.0.0.255 172.16.5.0 0.0.0.255
access-list 107 remark ***CLASSIFY VOICE TRAFFIC-CORPUS***
access-list 107 permit ip 172.16.100.0 0.0.0.255 172.16.3.0 0.0.0.255
access-list 107 permit ip 172.16.101.0 0.0.0.255 172.16.3.0 0.0.0.255


When I do Sh policy-map int s2/0;
Service-policy output: Dallas_Corp-VoIP

Class-map: voice-traffic (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: class-map match-any voice-traffic-acl
Match: access-group 105
2957973 packets, 429901246 bytes
5 minute rate 12000 bps
Match: access-group 106
2445557 packets, 338365504 bytes
5 minute rate 1000 bps
Match: access-group 107
1491578 packets, 226302310 bytes
5 minute rate 82000 bps
Match: dscp ef (46)
Queueing
Strict Priority
Output Queue: Conversation 264
Bandwidth 10 (%)
Bandwidth 1530 (kbps) Burst 38250 (Bytes)
(pkts matched/bytes matched) 0/0
(total drops/bytes drops) 0/0

Class-map: voice-signal (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: class-map match-any voice-traffic-acl
Match: access-group 105
2957973 packets, 429901246 bytes
5 minute rate 12000 bps
Match: access-group 106
2445557 packets, 338365504 bytes
5 minute rate 1000 bps
Match: access-group 107
1491578 packets, 226302310 bytes
5 minute rate 82000 bps
Match: dscp cs3 (24)
Queueing
Output Queue: Conversation 265
Bandwidth 2 (%)
Bandwidth 306 (kbps) Max Threshold 64 (packets)
(pkts matched/bytes matched) 0/0
(depth/total drops/no-buffer drops) 0/0/0

Class-map: class-default (match-any)
228997680 packets, 110950258776 bytes
5 minute offered rate 2340000 bps, drop rate 0 bps
Match: any
Queueing
Flow Based Fair Queueing
Maximum Number of Hashed Queues 256
(total queued/total drops/no-buffer drops) 7/17509/0


Dallas, Texas
Telecommunications
CCNA, Net+
Working on MCSA, Convergence+, CCVP
 
I must not be seeing something...where is the question?
 
It's not matching anything;

Class-map: voice-traffic (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: class-map match-any voice-traffic-acl
Match: access-group 105
2957973 packets, 429901246 bytes
5 minute rate 12000 bps
Match: access-group 106
2445557 packets, 338365504 bytes
5 minute rate 1000 bps
Match: access-group 107
1491578 packets, 226302310 bytes
5 minute rate 82000 bps
Match: dscp ef (46)
Queueing
Strict Priority
Output Queue: Conversation 264
Bandwidth 10 (%)
Bandwidth 1530 (kbps) Burst 38250 (Bytes)
(pkts matched/bytes matched) 0/0
(total drops/bytes drops) 0/0


Can't figure out whats wrong with the configuration, since it doesnt seem to be doing what it is suppose to.



Dallas, Texas
Telecommunications
CCNA, Net+
Working on MCSA, Convergence+, CCVP
 
Yes.... I completely forgot to put the question in there lol!

Sooo the problem I am having as stated above is that the config does not seem to be working.... as in the above post I bolded a section where it shows that no packets are being matched. Anyone see any issues with the config?

Dallas, Texas
Telecommunications
CCNA, Net+
Working on MCSA, Convergence+, CCVP
 
Its because you are doing a match-all condition..

class-map match-all voice-traffic
match class-map voice-traffic-acl
match dscp ef
class-map match-all voice-signal
match class-map voice-traffic-acl
match dscp cs3


most likley your end stations aren't setting dscp bits(or are being rewritten by your switches)


Verify the bits are being set..
 
I will double check the voice-traffic settings, but I did check the signaling and it is being set to cs3.

Dallas, Texas
Telecommunications
CCNA, Net+
Working on MCSA, Convergence+, CCVP
 
try posting your input config...are you marking/remarking anything yourself?
 
Everything related to QoS on that router is already posted. Nothing is being remarked, since all has been marked on the switches (we are using AutoQoS)

Dallas, Texas
Telecommunications
CCNA, Net+
Working on MCSA, Convergence+, CCVP
 
I usually then dig out wireshark to make certain the packets are really getting marked as I expect them to. I've had a couple of instances where things weren't getting classified/marked as I had expected they should.

 
Hello
Why don't you try the "match-any".The "match-all" is tricky and should be avoid,till you have a good understanding of the packets behavior.
Regards
 
class-map match-any voice-traffic-acl
match access-group 105
match access-group 106
match access-group 107
class-map match-all voice-traffic
match class-map voice-traffic-acl
match dscp ef
class-map match-all voice-signal
match class-map voice-traffic-acl
match dscp cs3


Well if I do the 'match-any' on the voice-traffic and voice-signal class-maps, then basically I will be bleeding signaling and rtp traffic into both class-maps.

Meaning with the match class-map voice-traffic-acl being in both class-maps then it will match in both with out defining if it is EF or CS3 traffic. Unless I have a complete misunderstanding going on here?

Dallas, Texas
Telecommunications
CCNA, Net+
Working on MCSA, Convergence+, CCVP
 
The idea was for testing. To get some hits on the traffic,to see the behavior.Then you can get more accurate once you know the traffic behavior.I will bet no traffic is being mark because of the match-all statement.
Regards
 
Will give it a shot.

Sorry, I am just very anal about this specific router and just 'testing' things due to it being our Hub router for our MPLS for the entire network is all.

Dallas, Texas
Telecommunications
CCNA, Net+
Working on MCSA, Convergence+, CCVP
 
You might want to try getting a little less restrictive on the ACL too. Match only the DSCP values and see if you get any matches.

Just a thought.
 
Still no matching done when i removed the below from both of the class-maps voice-traffic and voice-signal;

match class-map voice-traffic-acl



Anyone have any idea what auto qos is setting the dscp and cos values to for voice traffic and voice signaling?

I was under the impression that it was dscp ef and cs3, below is the output from one of the switches with autoqos on it;

mls qos map cos-dscp 0 8 16 26 32 46 48 56
mls qos srr-queue input bandwidth 90 10
mls qos srr-queue input threshold 1 8 16
mls qos srr-queue input threshold 2 34 66
mls qos srr-queue input buffers 67 33
mls qos srr-queue input cos-map queue 1 threshold 2 1
mls qos srr-queue input cos-map queue 1 threshold 3 0
mls qos srr-queue input cos-map queue 2 threshold 1 2
mls qos srr-queue input cos-map queue 2 threshold 2 4 6 7
mls qos srr-queue input cos-map queue 2 threshold 3 3 5
mls qos srr-queue input dscp-map queue 1 threshold 2 9 10 11 12 13 14 15
mls qos srr-queue input dscp-map queue 1 threshold 3 0 1 2 3 4 5 6 7
mls qos srr-queue input dscp-map queue 1 threshold 3 32
mls qos srr-queue input dscp-map queue 2 threshold 1 16 17 18 19 20 21 22 23
mls qos srr-queue input dscp-map queue 2 threshold 2 33 34 35 36 37 38 39 48
mls qos srr-queue input dscp-map queue 2 threshold 2 49 50 51 52 53 54 55 56
mls qos srr-queue input dscp-map queue 2 threshold 2 57 58 59 60 61 62 63
mls qos srr-queue input dscp-map queue 2 threshold 3 24 25 26 27 28 29 30 31
mls qos srr-queue input dscp-map queue 2 threshold 3 40 41 42 43 44 45 46 47
mls qos srr-queue output cos-map queue 1 threshold 3 5
mls qos srr-queue output cos-map queue 2 threshold 3 3 6 7
mls qos srr-queue output cos-map queue 3 threshold 3 2 4
mls qos srr-queue output cos-map queue 4 threshold 2 1
mls qos srr-queue output cos-map queue 4 threshold 3 0
mls qos srr-queue output dscp-map queue 1 threshold 3 40 41 42 43 44 45 46 47
mls qos srr-queue output dscp-map queue 2 threshold 3 24 25 26 27 28 29 30 31
mls qos srr-queue output dscp-map queue 2 threshold 3 48 49 50 51 52 53 54 55
mls qos srr-queue output dscp-map queue 2 threshold 3 56 57 58 59 60 61 62 63
mls qos srr-queue output dscp-map queue 3 threshold 3 16 17 18 19 20 21 22 23
mls qos srr-queue output dscp-map queue 3 threshold 3 32 33 34 35 36 37 38 39
mls qos srr-queue output dscp-map queue 4 threshold 1 8
mls qos srr-queue output dscp-map queue 4 threshold 2 9 10 11 12 13 14 15
mls qos srr-queue output dscp-map queue 4 threshold 3 0 1 2 3 4 5 6 7
mls qos queue-set output 1 threshold 1 138 138 92 138
mls qos queue-set output 1 threshold 2 138 138 92 400
mls qos queue-set output 1 threshold 3 36 77 100 318
mls qos queue-set output 1 threshold 4 20 50 67 400
mls qos queue-set output 2 threshold 1 149 149 100 149
mls qos queue-set output 2 threshold 2 118 118 100 235
mls qos queue-set output 2 threshold 3 41 68 100 272
mls qos queue-set output 2 threshold 4 42 72 100 242
mls qos queue-set output 1 buffers 10 10 26 54
mls qos queue-set output 2 buffers 16 6 17 61
mls qos



and;


6B#sh mls qos maps
Policed-dscp map:
d1 : d2 0 1 2 3 4 5 6 7 8 9
---------------------------------------
0 : 00 01 02 03 04 05 06 07 08 09
1 : 10 11 12 13 14 15 16 17 18 19
2 : 20 21 22 23 24 25 26 27 28 29
3 : 30 31 32 33 34 35 36 37 38 39
4 : 40 41 42 43 44 45 46 47 48 49
5 : 50 51 52 53 54 55 56 57 58 59
6 : 60 61 62 63

Dscp-cos map:
d1 : d2 0 1 2 3 4 5 6 7 8 9
---------------------------------------
0 : 00 00 00 00 00 00 00 00 01 01
1 : 01 01 01 01 01 01 02 02 02 02
2 : 02 02 02 02 03 03 03 03 03 03
3 : 03 03 04 04 04 04 04 04 04 04
4 : 05 05 05 05 05 05 05 05 06 06
5 : 06 06 06 06 06 06 07 07 07 07
6 : 07 07 07 07

Cos-dscp map:
cos: 0 1 2 3 4 5 6 7
--------------------------------
dscp: 0 8 16 26 32 46 48 56

IpPrecedence-dscp map:
ipprec: 0 1 2 3 4 5 6 7
--------------------------------
dscp: 0 8 16 24 32 40 48 56

Dscp-outputq-threshold map:
d1 :d2 0 1 2 3 4 5 6 7 8 9
------------------------------------------------------------
0 : 04-03 04-03 04-03 04-03 04-03 04-03 04-03 04-03 04-01 04-02
1 : 04-02 04-02 04-02 04-02 04-02 04-02 03-03 03-03 03-03 03-03
2 : 03-03 03-03 03-03 03-03 02-03 02-03 02-03 02-03 02-03 02-03
3 : 02-03 02-03 03-03 03-03 03-03 03-03 03-03 03-03 03-03 03-03
4 : 01-03 01-03 01-03 01-03 01-03 01-03 01-03 01-03 02-03 02-03
5 : 02-03 02-03 02-03 02-03 02-03 02-03 02-03 02-03 02-03 02-03
6 : 02-03 02-03 02-03 02-03

Dscp-inputq-threshold map:
d1 :d2 0 1 2 3 4 5 6 7 8 9
------------------------------------------------------------
0 : 01-03 01-03 01-03 01-03 01-03 01-03 01-03 01-03 01-01 01-02
1 : 01-02 01-02 01-02 01-02 01-02 01-02 02-01 02-01 02-01 02-01
2 : 02-01 02-01 02-01 02-01 02-03 02-03 02-03 02-03 02-03 02-03
3 : 02-03 02-03 01-03 02-02 02-02 02-02 02-02 02-02 02-02 02-02
4 : 02-03 02-03 02-03 02-03 02-03 02-03 02-03 02-03 02-02 02-02
5 : 02-02 02-02 02-02 02-02 02-02 02-02 02-02 02-02 02-02 02-02
6 : 02-02 02-02 02-02 02-02

Cos-outputq-threshold map:
cos: 0 1 2 3 4 5 6 7
------------------------------------
queue-threshold: 4-3 4-2 3-3 2-3 3-3 1-3 2-3 2-3

Cos-inputq-threshold map:
cos: 0 1 2 3 4 5 6 7
------------------------------------
queue-threshold: 1-3 1-2 2-1 2-3 2-2 2-3 2-2 2-2


Dscp-dscp mutation map:
Default DSCP Mutation Map:
d1 : d2 0 1 2 3 4 5 6 7 8 9
---------------------------------------
0 : 00 01 02 03 04 05 06 07 08 09
1 : 10 11 12 13 14 15 16 17 18 19
2 : 20 21 22 23 24 25 26 27 28 29
3 : 30 31 32 33 34 35 36 37 38 39
4 : 40 41 42 43 44 45 46 47 48 49
5 : 50 51 52 53 54 55 56 57 58 59
6 : 60 61 62 63


Dallas, Texas
Telecommunications
CCNA, Net+
Working on MCSA, Convergence+, CCVP
 
Hello
This is much easier than you think.Alway troubleshoot in stages.First blow away your present QOS.Then do a simple class-map.Apply it to see if "ef" traffic is passing throw the router.(You can do the same for cs3).If know hits check the switch or ip phones.

class-map match-any voice-traffic
match dscp ef

Regards
 
What kind of equipment are you using for your voice traffic? Cisco Call manager or Avaya?
 
CCM 4.1
3750PoE switches using AutoQoS
7206VXR Router for MPLS

Dallas, Texas
Telecommunications
CCNA, Net+
Working on MCSA, Convergence+, CCVP
 
Are IP phones connected directly to the switch?
and do you have workstations connected to the phone that is then connected to the switch?

What's the output from a show autoqos and running configuration from one of the ports.
 
1A#sh auto qos interface fa1/0/1
FastEthernet1/0/1
auto qos voip cisco-phone

interface FastEthernet1/0/1
description Unassigned
switchport trunk encapsulation dot1q
switchport mode dynamic desirable
switchport voice vlan 400
speed 100
duplex full
srr-queue bandwidth share 10 10 60 20
srr-queue bandwidth shape 10 0 0 0
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast

And yes, they are connected directly to the switch port and there is a pc attached to the phone.

Dallas, Texas
Telecommunications
CCNA, Net+
Working on MCSA, Convergence+, CCVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top