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

unable to apply classification policy-map on Cisco 4900

Marlon Malinao
Level 1
Level 1

Hi,

i have a problem, im unable to apply my classification policy-map to my interfaces connected to servers.

#sho ver
Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500-IPBASEK9-M), Version 12.2(52)SG, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Tue 12-May-09 16:11 by prod_rel_team
Image text-base: 0x10000000, data-base: 0x11D1DB1C

ROM: 12.2(31r)SGA4
Pod Revision 0, Force Revision 31, Gill Revision 19


cisco WS-C4948-10GE (MPC8540) processor (revision 5) with 262144K bytes of memory.
Processor board ID FOX1346GCU4
MPC8540 CPU at 667Mhz, Fixed Module
Last reset from PowerUp
2 Virtual Ethernet interfaces
48 Gigabit Ethernet interfaces
2 Ten Gigabit Ethernet interfaces
511K bytes of non-volatile configuration memory.

#show module
Chassis Type : WS-C4948-10GE

Power consumed by backplane : 0 Watts

Mod Ports Card Type                              Model              Serial No.
---+-----+--------------------------------------+------------------+-----------
1    50  10/100/1000BaseT (RJ45), 10GE (X2) Sup WS-C4948-10GE      FOX1346GCU4


policy-map qos-classify-lan
description QoS Version 3.0e 8/4/2010
class qos-set-routing
   set dscp cs6
class qos-set-interactive-video
   set dscp af41
class qos-set-streaming-video
   set dscp cs4
class qos-set-voice
   set dscp ef
class qos-set-buscrit
   set dscp af31
class qos-set-callcontrol
   set dscp cs3
class qos-set-netmgmt
   set dscp cs2
class qos-set-transactional
   set dscp af21
class qos-set-bulkdata
   set dscp af11
class qos-set-scavenger
   set dscp cs1

device(config-if-range)#service-policy input qos-classify-lan
The policy qos-classify-lan cannot be attached to the interface Gi1/25 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.
% Range command terminated because it failed on GigabitEthernet1/25

do i really need to enable IP CEF and IP routing? (even though i used my device in Access layer)

regards,

mc.malinao

1 Reply 1

Reza Sharifi
Hall of Fame
Hall of Fame

Hi Mc,

Yes, you need to enable CEF on the switch or the policy will not take effect:

From the config guide:

You cannot enable marking commands on an interface until IP routing is enabled globally. If IP routing is disabled globally and you try to configure the service policy on an interface, the configuration is accepted but it does not take effect. You are prompted with the message: "Set command will not take effect since CEF is disabled. Please enable IP routing and CEF globally.. " To enable IP routing globally, issue the ip routing and ip cef global configuration commands. After you do this, the marking commands take effect.

Here is the config guide:

http://www.cisco.com/en/US/docs/switches/lan/catalyst4500/12.2/31sg/configuration/guide/qos.html

HTH

Reza


Review Cisco Networking products for a $25 gift card