cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1187
Views
0
Helpful
1
Replies

IP Routing and CEF both Required to apply policy on interfaces?

jonesm111
Level 1
Level 1

One of my access switches wont allow me to set the policy on it's user interfaces

sa-us-oak-001(config)#int gi 3/1              
sa-us-oak-001(config-if)#service-policy input voip
The policy voip 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.

All of my other access switches have no problem with this configuration and none have ip routing enabled. They do however have ip cef enabled where as

sa-us-oak-001 does not;

sa-us-oak-001#sho ip cef
%IPv4 CEF not running

My question is; Should I be able to just configure ip cef globaly, then apply my policy to the interfaces or am I missing something else?


Thanks,


--Mike

Also, here is my QOS configuration

#Access-list with Snom SIP & RTP
ip access-list extended voip-traff
permit udp any any range 5060 5061
permit udp any any range 10000 20000

#class-map named ipphone & match acl voip-traff:
class-map match-any ipphone
match access-group name voip-traff

#Policy map named voip, match class-map iphone:
policy-map voip
class ipphone
set dscp cs5

#set interfaces to police policy-map voip:
interface-range gi 0/1 - 48
service-policy input voip

#enable qos globally:
mls qos
#qos on 4500

#map out QOS to COS-DSCP
mls qos map cos-dscp 0 8 16 24 32 46 48 56

The image is: cat4500-ipbasek9-mz.122-31.SGA9.bin

1 Reply 1

Reza Sharifi
Hall of Fame
Hall of Fame

Mike,

By default, CEF is enabled globally on the Catalyst 4500 series switch. No configuration is required.

To reenable CEF, issue "ip cef" globally

HTH

Reza

Review Cisco Networking products for a $25 gift card