Service Policy

Unanswered Question
Jun 10th, 2010

I noticed that on one of our 3750 switches we have both the mls qos trust cos and service-policy input AutoQoS-Police-CiscoPhone command on all the interfaces.  I believe the macro apply cisco-phone may have put both of these commands on each interface.  We do not use any policy maps on interfaces.  Should the service-policy command be removed from the interfaces?  Will having both the mls qos trust cos and service-policy commands on an interface cause any problems?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (3 ratings)
Loading.
Mohamed Sobair Thu, 06/10/2010 - 14:17


Hi,

Without QoS  policy applied Inbound and outbound, these commands would have no affect.

HTH

Mohamed

Ganesh Hariharan Thu, 06/10/2010 - 22:32
I noticed that on one of our 3750 switches we have both the mls qos trust cos and service-policy input AutoQoS-Police-CiscoPhone
command on all the interfaces.  I believe the macro apply cisco-phone
may have put both of these commands on each interface.  We do not use
any policy maps on interfaces.  Should the service-policy command be
removed from the interfaces?  Will having both the mls qos trust cos
and service-policy commands on an interface cause any problems?

Hi,

To attach a policy map to an interface, use the service-policy input command.

service-policy input policy-map name

If you entered the auto qos voip cisco-phone command, the switch automatically creates class maps and policy maps

Switch(config-if)# service-policy input AutoQoS-Police-CiscoPhone
After creating the class maps and policy maps, the switch automatically applies the policy map named AutoQoS-Police-CiscoPhone to an ingress interface on which auto-QoS with the Cisco Phone feature is enabled.

mls qos trust cos command is Interface configuration command for trusting when a Cisco Phone is learned via CDP on the respective interface; works in conjunction with the mls qos trust dscp and mls qos trust cos commands

Hope to Help !!

Ganesh.H

Remembe to rate the helpful post

Hitesh Vinzoda Thu, 06/10/2010 - 23:07

Hi,,

Should the service-policy command be removed from the interfaces?

As you said if you organisation doesnt require service-policy, you can remove it

Will having both the mls qos trust cos and service-policy commands on an interface cause any problems?

No, as mls qost trust cos is only trusting the COS received on the interface and, Service policy is applying what is configured under the policy map

HTH

Hitesh Vinzoda

Pls rate useful posts.

Actions

This Discussion