03-01-2016 11:34 AM - edited 03-08-2019 04:47 AM
i am implementing 6509 (as core)
that will be connected to us560 pbx and a 3560 core switch, and has 5 x WS-X6148A-GE-45AF modules that will be used to for access and esx host traffic.
i will be implementing auto qos (auto qos voip cisco-phone), on access ports to pc/phone traffic.,
1) should i run auto qos voip trust on trunk interfaces and one connected to pbx?
2) also do i need to run mls qos map cos-dscp and/or mls qos map dscp-cos on global.
thanks
03-01-2016 07:33 PM
You should be able to use the built in macro's. These configure things to Cisco recommendations based on the hardware platform they are executed on.
On a trunk port to another switch:
interface Gigabit a/b/c
macro apply cisco-switch
On a trunk port to another router (such as a UC560):
interface Gigabit a/b/c
macro apply cisco-router
03-02-2016 11:39 AM
i believe i need to update ios for macros. running 12.2(17)
ill check once updated
thanks Philip
03-02-2016 11:40 AM
What supervisor engine are you running?
03-02-2016 11:43 AM
Supervisor Engine 720 (Active) WS-SUP720-BASE
03-02-2016 12:11 PM
If you are going to make a software change you might want to consider jumping directly to 12.2(33)SXH5. This is assuming you are running a "vanilla" 720, rather than one with an MFC of some kind.
03-02-2016 12:51 AM
Hi I have this running on multiple 65s running those blades , all you need to apply is auto qos voip trust
when you do this based on the specific hardware queues it builds this below
It also build global qos below too , it depends on your SUP whether mls is supported too but not really required if you implement auto qos as the voice will be trusted , sup720 support mls not sup 10T , if it is u can also run mls qos trust dscp on uplinks
1 48 48-port 10/100/1000 RJ45 EtherModule WS-X6148A-GE-TX SAL10xxxxxxx
interface GigabitEthernet1/5
switchport
switchport access vlan 166
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 3100
ip dhcp snooping limit rate 7
end
table-map cos-discard-class-map
map from 0 to 0
map from 1 to 10
map from 2 to 18
map from 3 to 24
map from 4 to 34
map from 5 to 46
map from 6 to 48
map from 7 to 56
table-map discard-class-cos-map
map from 0 1 2 3 4 5 6 7 to 0
map from 8 9 10 11 12 13 14 15 to 1
map from 16 17 18 19 20 21 22 23 to 2
map from 24 25 26 27 28 29 30 31 to 3
map from 32 33 34 35 36 37 38 39 to 4
map from 40 41 42 43 44 45 46 47 to 5
map from 48 49 50 51 52 53 54 55 to 6
map from 56 57 58 59 60 61 62 63 to 7
!
To trouble shoot and see the queues use the below
sh queueing interface g1/5 detailed
sh queueing interface g1/5 detailed
Interface GigabitEthernet1/5 queueing strategy: Weighted Round-Robin
Port QoS is enabled globally
Queueing on Gi1/5: 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
que thr dropped 30-s bytes peak bytes 5-mins avg bps peak bps [cos-map]
------------------------------------------------------------------------------------------------------
1 1 0 0 0 0 0 [0 ]
2 1 0 0 0 0 0 [1 2 ]
3 5 0 0 0 0 0 [3 4 ]
3 7 0 0 0 0 0 [6 7 ]
4 1 0 0 0 0 0 [5 ]
Packets dropped on Receive:
BPDU packets: 0
que thr dropped 30-s bytes peak bytes 5-mins avg bps peak bps [cos-map]
-----------------------------------------------------------------------------------------------------
1 1 0 0 0 0 0 [0 1 2 3 4 ]
1 2 0 0 0 0 0 [5 6 7 ]
03-02-2016 11:18 AM
thanks Mark for the input.
i read up on "auto qos voip trust" , cisco says its used for traffic already marked with QoS?
following the guide below
03-02-2016 11:28 PM
actually it trusts the marking coming inbound from yoiur source marker which will be the phone , its just on 6500s on different types of mods they have different sets of queues so it also forms them based on what the hardware allows
Like my output
1p3q8t]: 1 priority queue which is 4 above in oputput and only cos 5 assigned to it which is what the phone will mark the packet cos 5 dscp ef 46 tos 184
03-02-2016 02:31 PM
mark, i understand
but was wondering would i need
"mls qos map cos-dscp" and/or both "mls qos map dscp-cos" on global
03-02-2016 11:37 PM
Only if your SUP supports MLS and it does not create the mls-cos mapping automatically
also if you enable mls globally it will put the mapping in place usually anyway on sup720
04-11-2016 07:55 AM
Bhatija,
how did your config go?
do you have .1q uplinks or L3 between access and Core?
trusted cos or dscp on uplinks?
Thanks.
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