09-26-2012 10:32 AM - edited 03-07-2019 09:07 AM
Here's the scenario:
IP Phone <-> Fa4/0/33 - 3750 - Gi1/0/1 (Trunk) <-> Gi1/2 - 6509
Config:
ON 3750:
Fa4/0/33 Config:
interface FastEthernet4/0/33
switchport access vlan 4
switchport mode access
switchport voice vlan 64
no logging event link-status
srr-queue bandwidth share 10 10 60 20
priority-queue out
mls qos trust device cisco-phone
mls qos trust dscp
auto qos voip cisco-phone
no mdix auto
spanning-tree portfast
service-policy input AutoQoS-Police-CiscoPhone
end
Gi1/0/1 Config:
interface GigabitEthernet1/0/1
description *******
switchport trunk encapsulation dot1q
switchport trunk native vlan 105
switchport trunk allowed vlan 4,5,15,21,27-29,41,44,64,65,104,105,108
switchport mode trunk
logging event nfas-status
logging event trunk-status
logging event bundle-status
logging event spanning-tree
logging event status
srr-queue bandwidth share 10 10 60 20
queue-set 2
priority-queue out
udld port
mls qos trust dscp
auto qos voip trust
end
show policy-map AutoQoS-Police-CiscoPhone
Policy Map AutoQoS-Police-CiscoPhone
Class AutoQoS-VoIP-RTP-Trust
set dscp ef
police 320000 8000 exceed-action policed-dscp-transmit
Class AutoQoS-VoIP-Control-Trust
set dscp cs3
police 32000 8000 exceed-action policed-dscp-transmit
ON 6509:
Gi1/2 Config:
interface GigabitEthernet1/2
description ******
no ip address
logging event link-status
logging event nfas-status
logging event spanning-tree status
logging event bundle-status
logging event trunk-status
udld port
wrr-queue bandwidth 30 70
mls qos trust dscp
switchport
switchport trunk encapsulation dot1q
switchport trunk native vlan 105
switchport trunk allowed vlan 4,5,15,21,27-29,41,44,45,64,65,104,105,108
switchport mode trunk
service-policy input PER-USER-POLICING
end
show policy-map PER-USER-POLICING
Policy Map PER-USER-POLICING
Class VOIP
police flow mask src-only 128000 8000 conform-action transmit exceed-action drop
Class INTERACTIVE-VIDEO
police flow mask src-only 496000 8000 conform-action transmit exceed-action drop
Class CALL-SIGNALING
police flow mask src-only 32000 8000 conform-action transmit exceed-action drop
Class BEST-EFFORT
police flow mask src-only 5000000 8000 conform-action transmit exceed-action drop
The IP phone user has received complaints from PSTN-based users that there are audio quality issues. Along this path referenced above (which only covers end-user to distribution) I do see output drops on the 6509 (gi1/2). The output drops are not large, as a percentage of packets, amounting to only .07% but this is over a timeframe of more than 40 weeks. I have no idea how closely the drops were clumped together. What I notice is that the service-policy is only applied on input (from the access switch to the distribution switch). I'm wondering if it should be the other way around. Should we apply policy outbound on the 3750 towards the 6509 and outbound from the 6509 to the 3750?
09-26-2012 04:00 PM
09-27-2012 11:31 AM
Your config on the 3750 doesn't seem right
Fa4/0/33 Config:
interface FastEthernet4/0/33
switchport access vlan 4
switchport mode access
switchport voice vlan 64
no logging event link-status
srr-queue bandwidth share 10 10 60 20
priority-queue out
mls qos trust device cisco-phone
mls qos trust dscp
auto qos voip cisco-phone
no mdix auto
spanning-tree portfast
service-policy input AutoQoS-Police-CiscoPhone
You can't have both port based QoS and MQC based QoS applied on the same interface.When you apply the following command service-policy input AutoQoS-Police-CiscoPhone, it should remove mls qos trust dscp command from the interface.
show policy-map AutoQoS-Police-CiscoPhone
Policy Map AutoQoS-Police-CiscoPhone
Class AutoQoS-VoIP-RTP-Trust
set dscp ef
police 320000 8000 exceed-action policed-dscp-transmit
Class AutoQoS-VoIP-Control-Trust
set dscp cs3
police 32000 8000 exceed-action policed-dscp-transmit
Can you also post you class configurations and also the policed-DSCP map config (show mls qos map policed-dscp)
Should we apply policy outbound on the 3750 towards the 6509 and outbound from the 6509 to the 3750?
You can't apply MQC to the output of any interface, MQC is allowed to be applied for the incomming traffic only.
Acc to your config you are already using auto qos, is there any reason for configuring MQC also?
Below is a very good document that explains QoS config on 3750 in very detail.
Siddhartha
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