Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > ip route-cache and CEF

Reply
Thread Tools

ip route-cache and CEF

 
 
Kenny D
Guest
Posts: n/a
 
      11-17-2003
Hi,

I have a router that has the commands "no ip route-cache" and "no ip
mroute-cache" configured on a fast ethernet interface. Also it has ip
cef enabled globally. However when i run a sh int fast 0/0 switching i
get the following output

FastEthernet0/0
Throttle count 0
Drops RP 0 SP 0
SPD Flushes Fast 0 SSE 0
SPD Aggress Fast 0
SPD Priority Inputs 18950 Drops 0

Protocol Path Pkts In Chars In Pkts Out Chars Out
Other Process 1423347 234346884 705153 45129792
Cache misses 0
Fast 0 0 0 0
Auton/SSE 0 0 0 0
IP Process 100215903 2862729521 14758204 1992377675
Cache misses 0
Fast 528073360 434219695 424384892 1205328132
Auton/SSE 0 0 0 0
IPX Process 7865372 2565113786 14 4988
Cache misses 0
Fast 0 0 0 0
Auton/SSE 0 0 0 0
DEC MOP Process 0 0 11735 903595
Cache misses 0
Fast 0 0 0 0
Auton/SSE 0 0 0 0
Spanning Tree Process 7042141 450697024 0 0
Cache misses 0
Fast 0 0 0 0
Auton/SSE 0 0 0 0
ARP Process 39598 2375880 10453 668992
Cache misses 0
Fast 0 0 0 0
Auton/SSE 0 0 0 0
CDP Process 117514 50883544 117532 37727772
Cache misses 0
Fast 0 0 0 0
Auton/SSE 0 0 0 0


My understanding was that with the "no ip route-cache" command all
packets would be process switched, but above i can see the
fast-switched counter increase.

Does anyone know why?

Thanks
 
Reply With Quote
 
 
 
 
Joe Drago
Guest
Posts: n/a
 
      11-17-2003
(Kenny D) wrote in
news: om:

> Hi,
>
> I have a router that has the commands "no ip route-cache" and "no ip
> mroute-cache" configured on a fast ethernet interface. Also it has ip
> cef enabled globally. However when i run a sh int fast 0/0 switching i
> get the following output
>
> [snip
>
> My understanding was that with the "no ip route-cache" command all
> packets would be process switched, but above i can see the
> fast-switched counter increase.
>
> Does anyone know why?
>
> Thanks
>


According to this page:

http://www.cisco.com/en/US/products/...ucts_tech_note
09186a00801d6038.shtml

Look at the table with "Incoming Interface / Outgoing Interface /
Switching Method". It looks like it still uses fast switching when going
Process to CEF.

Quote:

In other words, you need CEF to be enabled on the incoming interface for
packets to be CEF switched, and since CEF makes the forwarding decision
on input, use the no ip route-cache cef command on the ingress interface
to disable CEF. In contrast, since Cisco IOS builds a fast-switching
cache entry after switching a packet, a packet coming in on a process-
switched interface and going out through a fast-switched interface will
be fast switched, use the no ip route-cache command on the egress
interface to disable fast switching.

--
Joe Drago
StreamLine Communications
 
Reply With Quote
 
Terry Baranski
Guest
Posts: n/a
 
      11-18-2003
On 16 Nov 2003 21:02:42 -0800, (Kenny D)
wrote:

>Hi,
>
>I have a router that has the commands "no ip route-cache" and "no ip
>mroute-cache" configured on a fast ethernet interface. Also it has ip
>cef enabled globally. However when i run a sh int fast 0/0 switching i
>get the following output
>....
>My understanding was that with the "no ip route-cache" command all
>packets would be process switched, but above i can see the
>fast-switched counter increase.
>
>Does anyone know why?


My understanding is that the 'show int switching' command currently
doesn't distinguish between fast-switched and CEF-switched packets, so
CEF-switched packets are recorded as being fast-switched.

-Terry
 
Reply With Quote
 
Jesper Skriver
Guest
Posts: n/a
 
      11-19-2003
On Mon, 17 Nov 2003 21:33:45 -0500, Terry Baranski wrote:
> On 16 Nov 2003 21:02:42 -0800, (Kenny D)
> wrote:
>
>>Hi,
>>
>>I have a router that has the commands "no ip route-cache" and "no ip
>>mroute-cache" configured on a fast ethernet interface. Also it has ip
>>cef enabled globally. However when i run a sh int fast 0/0 switching i
>>get the following output
>>....
>>My understanding was that with the "no ip route-cache" command all
>>packets would be process switched, but above i can see the
>>fast-switched counter increase.
>>
>>Does anyone know why?

>
> My understanding is that the 'show int switching' command currently
> doesn't distinguish between fast-switched and CEF-switched packets, so
> CEF-switched packets are recorded as being fast-switched.


show adj detail

Will show how many packets/bytes are CEF switched out of each
next-hop/adjacency

--
Jesper Skriver, CCIE #5456, FreeBSD committer
 
Reply With Quote
 
Nan Nan is offline
Junior Member
Join Date: Sep 2007
Posts: 1
 
      09-06-2007
6500, CatoS, MSFC2. On most of our vlan interfaces we have:
no ip route-cache and no ip mroute-cache. We are enabling multicasting throughout the LAN but just wanted to know if there were any issues removing these commands? It is my understanding that removing these enables fast switching on the interface. It sounds like a good thing to me but why are they there in the first place????
Thanks.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the default precedence: local-route, static-route,OSPF-route? ilan.berco@gmail.com Cisco 9 08-07-2008 05:42 PM
ip route-cache and load balancing BB Cisco 1 01-05-2005 04:12 AM
perfomance an ip-route-cache on a router Ralf Huelsmann Cisco 1 08-15-2004 03:09 PM
Security problem for enabling ip route cache godwill Cisco 1 12-10-2003 01:40 PM
cisco 2600 - route port 80 for cache server Radial Monster Cisco 2 07-11-2003 05:02 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57