04-14-2016 11:31 AM - edited 03-08-2019 05:21 AM
I'm tasked with establishing a VoIP policy for our C6509 w/ Sup2T supervisor. Ultimately, we'd like to avoid QoS, but that doesn't seem to be the reality of our situation, so we'd like to minimally apply QoS ...and only to VoIP traffic (with an eye toward Video eventually). The thinking being that cos5: voip media, cos4:voip signaling/video.
Here is a (doctored) QoS policy for 1p3q8t ports I found at: http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst6500/ios/15-0SY/configuration/guide/15_0_sy_swcg/qos_policy_based_queueing.html#wp1025940
class-map type lan-queuing match-any c_map_cos_4
match cos 4
class-map type lan-queuing match-any c_map_cos_5
match cos 5
policy-map type lan-queuing p_map_1p3q8t
class c_map_cos_5
priority
class c_map_cos_4
bandwidth remaining percent 20
queue-buffers ratio 10
class class-default
bandwidth remaining percent 80
queue-buffers ratio 80
Before I go ahead with this, does anything jump out as wrong or short-sighted about this policy?
Thanks for your input!
04-15-2016 01:14 AM
hi
sup2t is already trusting dscp/cos by default if i remember right and if your using cisco phones they will set the dscp at source and the 6500 will trust it , voice is already being prioritized in the mods , did you check the queuing before applying anything ?---show queuing interface gx/x ----cos 5 is in the priority queue already for ef voice traffic
From one of my 6500s nothing applied to it in terms of qos or queuing and its on by default running sup2t with 6748s trusting cos/dscp
#sh queuing Interface G1/7/1
Interface GigabitEthernet1/7/1 queueing strategy: Weighted Round-Robin
Port QoS is enabled globally
Queueing on Gi1/7/1: Tx Enabled Rx Enabled
Trust boundary disabled
Trust state: trust DSCP
Trust state in queueing: trust COS
Extend trust state: not trusted [COS = 0]
Default COS is 0
Queueing Mode In Tx direction: mode-cos
Transmit queues [type = 1p3q8t]:
Queue Id Scheduling Num of thresholds
-----------------------------------------
01 WRR 08
02 WRR 08
03 WRR 08
04 Priority 01
WRR bandwidth ratios: 100[queue 1] 150[queue 2] 200[queue 3]
queue-limit ratios: 50[queue 1] 20[queue 2] 15[queue 3] 15[Pri Queue]
queue tail-drop-thresholds
--------------------------
1 70[1] 100[2] 100[3] 100[4] 100[5] 100[6] 100[7] 100[8]
2 70[1] 100[2] 100[3] 100[4] 100[5] 100[6] 100[7] 100[8]
3 100[1] 100[2] 100[3] 100[4] 100[5] 100[6] 100[7] 100[8]
queue random-detect-min-thresholds
----------------------------------
1 40[1] 70[2] 70[3] 70[4] 70[5] 70[6] 70[7] 70[8]
2 40[1] 70[2] 70[3] 70[4] 70[5] 70[6] 70[7] 70[8]
3 70[1] 70[2] 70[3] 70[4] 70[5] 70[6] 70[7] 70[8]
queue random-detect-max-thresholds
----------------------------------
1 70[1] 100[2] 100[3] 100[4] 100[5] 100[6] 100[7] 100[8]
2 70[1] 100[2] 100[3] 100[4] 100[5] 100[6] 100[7] 100[8]
3 100[1] 100[2] 100[3] 100[4] 100[5] 100[6] 100[7] 100[8]
WRED disabled queues:
queue thresh cos-map
---------------------------------------
1 1 0
1 2 1
1 3
1 4
1 5
1 6
1 7
1 8
2 1 2
2 2 3 4
2 3
2 4
2 5
2 6
2 7
2 8
3 1 6 7
3 2
3 3
3 4
3 5
3 6
3 7
3 8
4 1 5
Queueing Mode In Rx direction: mode-cos
Receive queues [type = 1q8t]:
Queue Id Scheduling Num of thresholds
-----------------------------------------
01 WRR 08
WRR bandwidth ratios: 100[queue 1]
queue-limit ratios: 100[queue 1]
queue tail-drop-thresholds
--------------------------
1 50[1] 50[2] 60[3] 60[4] 80[5] 80[6] 100[7] 100[8]
queue thresh cos-map
---------------------------------------
1 1 0
1 2
1 3 1 2 3 4
1 4
1 5 6 7
1 6
1 7 5
1 8
Packets dropped on Transmit:
BPDU packets: 0
queue dropped [cos-map]
---------------------------------------------
1 11153 [0 1 ]
2 0 [2 3 4 ]
3 0 [6 7 ]
4 0 [5 ]
Packets dropped on Receive:
BPDU packets: 0
queue dropped [cos-map]
---------------------------------------------
1 0 [0 1 2 3 4 6 7 5 ]
04-15-2016 06:14 AM
Mine's a bit different than yours
6509#show queueing int g1/1/1
Interface GigabitEthernet1/1/1 queueing strategy: Weighted Round-Robin
Port QoS is disabled globally
Queueing on Gi1/1/1: Tx Disabled Rx Disabled
Trust boundary disabled
Trust state: trust DSCP
Trust state in queueing: trust COS
Extend trust state: not trusted [COS = 0]
Default COS is 0
Queueing Mode In Tx direction: mode-cos
Transmit queues [type = 1p3q8t]:
Queue Id Scheduling Num of thresholds
-----------------------------------------
01 WRR 08
02 WRR 08
03 WRR 08
04 Priority 01
WRR bandwidth ratios: 100[queue 1] 0[queue 2] 0[queue 3]
queue-limit ratios: 100[queue 1] 0[queue 2] 0[queue 3] 0[Pri Queue]
queue tail-drop-thresholds
--------------------------
1 100[1] 100[2] 100[3] 100[4] 100[5] 100[6] 100[7] 100[8]
2 100[1] 100[2] 100[3] 100[4] 100[5] 100[6] 100[7] 100[8]
3 100[1] 100[2] 100[3] 100[4] 100[5] 100[6] 100[7] 100[8]
queue random-detect-min-thresholds
----------------------------------
1 100[1] 100[2] 100[3] 100[4] 100[5] 100[6] 100[7] 100[8]
2 100[1] 100[2] 100[3] 100[4] 100[5] 100[6] 100[7] 100[8]
3 100[1] 100[2] 100[3] 100[4] 100[5] 100[6] 100[7] 100[8]
queue random-detect-max-thresholds
----------------------------------
1 100[1] 100[2] 100[3] 100[4] 100[5] 100[6] 100[7] 100[8]
2 100[1] 100[2] 100[3] 100[4] 100[5] 100[6] 100[7] 100[8]
3 100[1] 100[2] 100[3] 100[4] 100[5] 100[6] 100[7] 100[8]
WRED disabled queues: 1 2 3
queue thresh cos-map
---------------------------------------
1 1 0 1 2 3 4 5 6 7
1 2
1 3
1 4
1 5
1 6
1 7
1 8
2 1
2 2
2 3
2 4
2 5
2 6
2 7
2 8
3 1
3 2
3 3
3 4
3 5
3 6
3 7
3 8
4 1
Queueing Mode In Rx direction: mode-cos
Receive queues [type = 2q8t]:
Queue Id Scheduling Num of thresholds
-----------------------------------------
01 WRR 08
02 WRR 08
WRR bandwidth ratios: 100[queue 1] 0[queue 2]
queue-limit ratios: 100[queue 1] 0[queue 2]
queue tail-drop-thresholds
--------------------------
1 100[1] 100[2] 100[3] 100[4] 100[5] 100[6] 100[7] 100[8]
2 100[1] 100[2] 100[3] 100[4] 100[5] 100[6] 100[7] 100[8]
queue thresh cos-map
---------------------------------------
1 1 0 1 2 3 4 5 6 7
1 2
1 3
1 4
1 5
1 6
1 7
1 8
2 1
2 2
2 3
2 4
2 5
2 6
2 7
2 8
Packets dropped on Transmit:
BPDU packets: 0
queue dropped [cos-map]
---------------------------------------------
1 23393 [0 1 2 3 4 5 6 7 ]
Packets dropped on Receive:
BPDU packets: 0
queue dropped [cos-map]
---------------------------------------------
1 0 [0 1 2 3 4 5 6 7 ]
04-15-2016 06:54 AM
Yes there all being put into 1 queue so even though trusted its not separating them , so you will need to use auto qos voip trust under the interface and then the values will be moved into different queues in queuing
When you do this on 1 port the whole module will get the wrr queuing its auto like that like below
!
interface GigabitEthernet1/6
switchport
switchport access vlan 160
platform qos trust cos
wrr-queue bandwidth 20 100 200
priority-queue queue-limit 5
wrr-queue queue-limit 65 15 15
wrr-queue random-detect min-threshold 1 70 100 100 100 100 100 100 100
wrr-queue random-detect min-threshold 2 70 100 100 100 100 100 100 100
wrr-queue random-detect min-threshold 3 40 40 50 50 60 60 70 70
wrr-queue random-detect max-threshold 1 100 100 100 100 100 100 100 100
wrr-queue random-detect max-threshold 2 100 100 100 100 100 100 100 100
wrr-queue random-detect max-threshold 3 70 70 80 80 90 90 100 100
wrr-queue cos-map 2 1 1 2
wrr-queue cos-map 3 5 3 4
wrr-queue cos-map 3 7 6 7
auto qos voip trust
spanning-tree portfast edge
spanning-tree cost 3019
ip dhcp snooping limit rate 7
end
#sh queueing interface g1/6
Interface GigabitEthernet1/6 queueing strategy: Weighted Round-Robin
Port QoS is enabled globally
Queueing on Gi1/6: Tx Enabled Rx Enabled
Trust boundary disabled
Trust state: trust COS
Trust state in queueing: trust COS
Extend trust state: not trusted [COS = 0]
Default COS is 0
Queueing Mode In Tx direction: mode-cos
Transmit queues [type = 1p3q8t]:
Queue Id Scheduling Num of thresholds
-----------------------------------------
01 WRR 08
02 WRR 08
03 WRR 08
04 Priority 01
WRR bandwidth ratios: 20[queue 1] 100[queue 2] 200[queue 3]
queue-limit ratios: 65[queue 1] 15[queue 2] 15[queue 3] 5[Pri Queue]
queue tail-drop-thresholds
--------------------------
1 70[1] 100[2] 100[3] 100[4] 100[5] 100[6] 100[7] 100[8]
2 70[1] 100[2] 100[3] 100[4] 100[5] 100[6] 100[7] 100[8]
3 100[1] 100[2] 100[3] 100[4] 100[5] 100[6] 100[7] 100[8]
queue random-detect-min-thresholds
----------------------------------
1 70[1] 100[2] 100[3] 100[4] 100[5] 100[6] 100[7] 100[8]
2 70[1] 100[2] 100[3] 100[4] 100[5] 100[6] 100[7] 100[8]
3 40[1] 40[2] 50[3] 50[4] 60[5] 60[6] 70[7] 70[8]
queue random-detect-max-thresholds
----------------------------------
1 100[1] 100[2] 100[3] 100[4] 100[5] 100[6] 100[7] 100[8]
2 100[1] 100[2] 100[3] 100[4] 100[5] 100[6] 100[7] 100[8]
3 70[1] 70[2] 80[3] 80[4] 90[5] 90[6] 100[7] 100[8]
WRED disabled queues:
queue thresh cos-map
---------------------------------------
1 1 0
1 2
1 3
1 4
1 5
1 6
1 7
1 8
2 1 1 2
2 2
2 3
2 4
2 5
2 6
2 7
2 8
3 1
3 2
3 3
3 4
3 5 3 4
3 6
3 7 6 7
3 8
4 1 5
Queueing Mode In Rx direction: mode-cos
Receive queues [type = 1q2t]:
Queue Id Scheduling Num of thresholds
-----------------------------------------
1 Standard 2
queue tail-drop-thresholds
--------------------------
1 80[1] 100[2]
queue thresh cos-map
---------------------------------------
1 1 0 1 2 3 4
1 2 5 6 7
Packets dropped on Transmit:
BPDU packets: 0
queue thresh dropped [cos-map]
---------------------------------------------------
1 1 0 [0 ]
2 1 0 [1 2 ]
3 5 0 [3 4 ]
3 7 0 [6 7 ]
4 1 0 [5 ]
Packets dropped on Receive:
BPDU packets: 0
queue thresh dropped [cos-map]
---------------------------------------------------
1 1 0 [0 1 2 3 4 ]
1 2 0 [5 6 7 ]
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