cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
271
Views
0
Helpful
3
Replies

dCEF doesn't support policy routing

michael
Level 1
Level 1

When i turn on ip cef distributed, packet match the access-list will be dropped by the router.

ip cef distributed

interface Port-channel2

ip route-cache distributed

ip policy route-map iphone

So i have to configurate with cef only, but it makes a high cpu utilization.

ip flow-cache feature-accelerate

ip cef

interface Port-channel2

ip route-cache flow

no ip route-cache distributed

ip policy route-map iphone

CPU utilization for five seconds: 99%/79%; one minute: 99%; five minutes: 99%

PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process

43 24836306721281324068 1938 17.25% 18.55% 17.38% 0 IP Input

61 92612 9163 10107 1.14% 1.05% 1.04% 0 CEF process

please help,thanks.

Interface: Port-channel

IOS version: rsp-pv-mz.120-21.S3.bin

RT#sh int st

FastEthernet0/0/0

Switching path Pkts In Chars In Pkts Out Chars Out

Processor 250052 49379750 54246 5699813

Route cache 0 0 282436 121280002

Distributed cache 0 0 0 0

Total 250058 49379768 336694 126983751

FastEthernet0/1/0

Switching path Pkts In Chars In Pkts Out Chars Out

Processor 223355 46848984 45627 4749114

Route cache 0 0 250765 96586144

Distributed cache 0 0 0 0

Total 223365 46851036 296403 101340960

Port-channel2

Switching path Pkts In Chars In Pkts Out Chars Out

Processor 233865 24170387 233546 24146652

Route cache 864937 200289268 1258355 518480578

Distributed cache 0 0 0 0

Total 1113226 227411871 1510400 549478642

3 Replies 3

ruwhite
Level 7
Level 7

DCEF didn't support policy routing until 12.1(1), I think, so you might want to try a later version of code (?).

Russ.W

I think this link covers it:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/12cgcr/qos_c/qcpart1/qcpolicy.htm

(Thanks to Marton Molina for sending this to me). It looks like it should be supported (?). Try show cef not, and make certain these packets are being punted.

Russ.W

Thank you ruwhite,

RT#sh cef not-cef-switched

CEF Packets passed on to next switching layer

Slot No_adj No_encap Unsupp'ted Redirect Receive Options Access Frag

RP 95239 0 0 12703 35817761 0 0 0

RT#

from command show int stat,i found any packet inbound do a processor switching,only outbound packet switched by cef.