04-27-2011 03:05 AM - edited 03-06-2019 04:48 PM
Hi All,
if anyone can help put my mind at ease regarding a relatively simple QOS policy, it would be greatly appreciated.
To give you an outline of the Network Topology I have the following -
Site # 1
2 X HP Procurve 2510G switches
1 x Wireless Ethernet Extender (Supports QOS 802.1P)
1 x Phone Switch
1 x Cisco Router 1800 Series
VLANs -
10 - Data
20 - Voice
30 - Management
Site #2
1 x Cisco 2960 POE Switch
1 x Wireless Ethernet Extender (Supports QOS 802.1P)
20 x Alcatel IP Touch Phones
VLANs -
10 - Data
20 - Voice
30 - Management
All of the VOIP Phones will be present in Site #2 with desktops plugging directly into the back of the phone. Phones will be present on VLAN 20 (172.16.86.x/24) and desktops will be present on VLAN 10 (192.168.86/x/24) ports 1 through 20. The Cisco 1800 in Site #1 is the breakout to the internet. Both Sites are linked via a 100MB wireless connection supporting QOS at Layer 2 (802.1P) from port 24.
I plan to implement the following QOS Policy -
Cisco Switch Configuration -
mls qos map policed-dscp 24 26 46 to 0
mls qos map cos-dscp 0 8 16 24 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
Interface range fa0/1 - 20
description IP Phones MAVP
switchport mode access
switchport access vlan 10
switchport voice vlan 20
mls qos trust cos
spanning-tree portfast
spanning-tree bpduguard enable
Interface fa0/24
description Wireless Link to Site #1
switchport mode trunk
switchport trunk native vlan 10
srr-queue bandwidth share 10 10 60 20
queue-set 2
priority-queue out
mls qos trust cos
auto qos voip trust
By configuring the "mls qos" globally and the "auto qois voip trust" on the wireless uplink port, the queues were automatically configured as above. I have also created the following class and policy maps -
class-map match-all AutoQoS-VoIP-RTP-Trust
match ip dscp ef
class-map match-all AutoQoS-VoIP-Control-Trust
match ip dscp cs3 af31
!
!
policy-map AutoQoS-Police-IPPhone
class AutoQoS-VoIP-RTP-Trust
set dscp ef
police 1000000 8000 exceed-action policed-dscp-transmit
class AutoQoS-VoIP-Control-Trust
set dscp cs3
police 1000000 8000 exceed-action policed-dscp-transmit
What im looking for here, is just to confirm if this is acceptable as a starting point for the QOS policy. I realise I am going to have to ensure this policy flows through the QOS domain, but i just want to make sure I am starting off on the right track. Any help/confirmation would be greatly appreciated.
Thanks
Nick
04-27-2011 09:28 AM
Hi, This looks fine to me, I have used the auto qos features of the 2960 many times and it has always been sufficient for me. What model of phone are you using? Is it Cisco phones? It may be worth adding in the auto qos command on the interfaces that connect the phones too, as this will set up the queues on those ports. Cheers Jonathan
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide