[c-nsp] why disable ip cache and direct broadcast in switch

Steve Bertrand steve at ibctech.ca
Thu Feb 26 02:45:01 EST 2009


Gert Doering wrote:
> Hi,
> 
> On Wed, Feb 25, 2009 at 07:10:51PM -0600, Max Palatnik wrote:
>> No ip-route cache with no keywords afterwards refers to the fast-switch
>> handling of packets.  CEF is usually enabled globally on the device (and
>> thus is enabled for each interface), so this forces the interface to use CEF
>> and ensures fast-switching is not enabled on the port.
> 
> No.
> 
> "no ip route-cache" will force *process switching*, and that's a bad thing
> (certain IOS versions needed this to get features not supported in the
> fast path, like per-packet load balancing on parallel links - but that's
> really something you should immediately forget again, process switching is
> *bad*).

For my own understanding, is it fair to assume:

- "no ip route-cache" forces punting to the RP for proc-switch
- lack of "no ip route-cache" and without "ip cef" enabled (at all)
implies 'proc-switch once, then fast-switch'
- nothing explicitly set on an interface, but "ip cef" enabled globally
will always use the compiled FIB

...do I have this right?

Steve


More information about the cisco-nsp mailing list