Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

ip routing on access layer switch

I have a cisco 4506 working as access layer switch (only desktops and phones are connected to that). When i try to execute "auto qos voip cisco-phone" command to enable qos on the swicth ports, the switch generated the below error message.

the policy AutoQos-VoIP-Input-Cos-Policy cannot be attached to the interface Gi3/1 since it has 'set' actions. IP Routing and CEF Switching are required for 'set' actions to be effective.Please enable IP routing and CEF switching.

AutoQoS Error: the following generated command was not properly applied:

service-policy input AutoQos-VoIP-Input-Cos-Policy

auto qos error while generating commands on g3/1

I don't know the relation between ip routing, cef and qos. i can enable them, but want to check the impact before that. Currently the switch is configured as VTP client and operating in L2 mode though it is L3 by design.



Super Bronze

Re: ip routing on access layer switch


The  Author of this posting offers the information contained within this  posting without consideration and with the reader's understanding that  there's no implied or expressed suitability or fitness for any purpose.  Information provided is for informational purposes only and should not  be construed as rendering professional advice of any kind. Usage of this  posting's information is solely at reader's own risk.

Liability Disclaimer

In  no event shall Author be liable for any damages whatsoever (including,  without limitation, damages for loss of use, data or profit) arising out  of the use or inability to use the posting's information even if Author  has been advised of the possibility of such damage.


If you only enable routing, you shouldn't see much of a behavior difference except for if you're using a default-gateway you'll likely need to change that to use a default route.


Re: ip routing on access layer switch

  Joe is correct , you need  ip routing turned on to run QOS commands .  You will have to use a static default route for the management address  which points to your current  ip default gateway statement . You can then get rid of the ip default gateway statement.

CreatePlease login to create content