unable to apply classification policy-map on Cisco 4900
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)
Re: unable to apply classification policy-map on Cisco 4900
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.
[toc:faq]The ProblemOn traditional switches whenever we have a trunk
interface we use the VLAN tag to demultiplex the VLANs. The switch needs
to determine which MAC Address table to look in for a forwarding
decision. To do this we require the switch to do...
[toc:faq]Introduction:Netdr is a tool available on a RSP720, Sup720 or
Sup32 that allows one to capture packets on the RP or SP inband. The
netdr command can be used to capture both Tx and Rx packets in the
software switching path. This is not a substitut...
IntroductionOSPF, being a link-state protocol, allows for every router
in the network to know of every link and OSPF speaker in the entire
network. From this picture each router independently runs the Shortest
Path First (SPF) algorithm to determine the b...