Should CEF be enabled?

It seems that my switch is process switching all packets.

Is that a bad thing?

sh cef state
CEF Status:
 RP instance
 common CEF disabled
IPv4 CEF Status:
 CEF disabled/not running
 dCEF disabled/not running
 CEF switching disabled/not running
 universal per-destination load sharing algorithm, id 83852352
IPv6 CEF Status:
 CEF disabled/not running
 dCEF disabled/not running
 universal per-destination load sharing algorithm, id 83852352

sh int fa1/0/1 stats
FastEthernet1/0/1
          Switching path    Pkts In   Chars In   Pkts Out  Chars Out
               Processor          0          0   11260657  720682048
             Route cache          0          0          0          0
                   Total          0          0   11260657  720682048



sh int gi1/0/1 stats
GigabitEthernet1/0/1
          Switching path    Pkts In   Chars In   Pkts Out  Chars Out
               Processor          0          0  294692675 18865399070
             Route cache          0          0          0          0
                   Total          0          0  294692675 18865399070

sh proc cpu history
    9939574447146829372248352929273236232793733384339294722173347392635273
    9209498176942196885333762109858704126390703929105596739950164994544489
100 *  *           *           *          *         * *           *
 90 ** *           *         * *          *         * *           *
 80 ** * *   *   * * *   *   * * *        * *   *   * * *   *     *     *
 70 ** * *   *   * * *   *   * * *       ** *   *   * * *   *   * * *   *
 60 ** * *   *  ** * *   * * * * *   *   ** *   *   * * *   *   * * *   *
 50 ** **** **  ** * *   * * * * *   *   ** *   **  * ***   *  ** * * * *
 40 ** ******* *** ***  **** * * **  *   ** *  ***  * ***   *  **** * * **
 30 ********** ******** **** * ******* ****************** * ******* *** **
 20 **********************************************************************
 10 ######################################################################
   0....5....1....1....2....2....3....3....4....4....5....5....6....6....7.
             0    5    0    5    0    5    0    5    0    5    0    5    0
                   CPU% per hour (last 72 hours)
                  * = maximum CPU%   # = average CPU%
Dragon0x40Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SouljaCommented:
Yes, enable CEF.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
eeRootCommented:
What kind of switch is this and what network devices do it connect to?  
0
mikebernhardtCommented:
+1 on enabling CEF
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Dragon0x40Author Commented:
On a 3750 should I run "ip cef distributed" as I don't see a <cr> after "ip cef ?"

right now my processes show

 sh proc cpu
CPU utilization for five seconds: 9%/2%; one minute: 7%; five minutes: 7%

Does this mean that 2% of my cpu is being used for process switching?

0
SouljaCommented:
IP Cef should be it.
0
Dragon0x40Author Commented:
WS-C3750-48TS-S

#ip cef ?
  distributed         Distributed Cisco Express Forwarding
  linecard            CEF linecard commands
  load-sharing        Load sharing
  optimize            Optimizations
  traffic-statistics  Enable collection of traffic statistics
0
SouljaCommented:
Are you saying that is it not excepting just "IP CEF"? Have you tried just entering it. Just because <cr> is not listed doesn't mean it is not an option.
0
ddiazpCommented:
ip cef distributed

is what you want
0
SouljaCommented:
@ddiazp

Can you explain why?
0
ddiazpCommented:
"ip cef" was deprecated in favor of "ip cef distributed". They both have the same function. The rest of the commands are advanced features for optimizing and even monitoring (sla) that you're probably not looking

Can you do 'show int fa1/0/1' and 'show int gi1/0/1' and post how many packets per second these interfaces are processing?
0
ddiazpCommented:
Also, in addition, to perform any further CEF/dCEF functions, you need to have CEF/dCEF running at least:

•Enabling CEF or dCEF (Required)
•Configuring Load Balancing for CEF (Optional)
•Configuring Network Accounting for CEF (Optional)
•Configuring Distributed Tunnel Switching for CEF (Optional)

more info: http://www.cisco.com/en/US/docs/ios/12_1/switch/configuration/guide/xcdcefc.html
0
SouljaCommented:
@ddiazp

Thanks
0
SouljaCommented:
My only question is stated above. Have the author tried entering ip cef? I still don't see that not being an available command.
0
Dragon0x40Author Commented:
I can't enter "ip cef" unless I get authorization.

I thought it would be easy just enter "ip cef distributed" and be done.

Wouldn't just that command help with not punting all packets to the CPU?
0
ddiazpCommented:
you can just enter ip cef distributed and be done
0
greg wardSystems EngineerCommented:
can you paste the top 10 from this
 show processes cpu sorted 5min

Greg
0
Dragon0x40Author Commented:
I will post sh processes tomorrow.

If we really should have cef on all our access layer switches how do I convince the people I work with?
0
Dragon0x40Author Commented:
show processes cpu sorted 5min
CPU utilization for five seconds: 5%/0%; one minute: 6%; five minutes: 6%
 PID       Runtime(ms)   Invoked      uSecs   5Sec      1Min     5Min TTY Process
 212         66656092 277670662        240  0.15%  0.33%  0.34%   0 Spanning Tree
 150          61978233  30163250       2054  0.15%  0.18%  0.20%   0 HRPC qos request
 141          78542874 598514645        131  0.15%  0.18%  0.16%   0 Hulc LED Process
   4             30834452    3033192     10165  0.00%  0.15%  0.12%   0 Check heaps
 221                      443           173       2560  0.00%  0.26%  0.10%   1 SSH Process
 104           38443784  52361199         734  0.00%  0.11%  0.09%   0 hpm counter proc
 105           24869316 108972972        228  0.15%  0.09%  0.09%   0 HRPC pm-counters
  69             14395718  70120457        205   0.00%  0.02%  0.04%   0 hrpc <- response
 306                1340675    716662       1870  0.00%  0.01%  0.02%   0 SNMP ENGINE
  65              62802391344647164             4  0.00%  0.04%  0.01%   0 Fifo Error Detec
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.