cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
341
Views
4
Helpful
2
Replies

Commands Usage

skhirbash
Level 1
Level 1

I have been noticing on most of our production routers, which I inherited from a forder engineer, that the following commands are being used:

- no ip route-cache cef

- no ip route-cache

- no fair-queue

Could someone please tell me why are those commands being negated? What's the idea behind disabling them?

Thanks in advance,

sK

2 Replies 2

Richard Burts
Hall of Fame
Hall of Fame

SK

the no ip route-cache cef is disabling CEF on an interface. The no ip route-cache is disabling fast switching on an interface. The result is to force process switching of packets on that interface. The reasons why this is being done are difficult to identify since it might be done for several reasons and we do not have enough information to know which one it might be. In some old versions of IOS (when CEF was a new technology) people would turn off CEF to avoid some bug that might be associated with CEF. There is little reason to do this with recent IOS versions. I have seen people turn off fast switching when they want the router CPU to process every packet when they were running debug. I guess that some people might turn off CEF and/or fast switching in an attempt to conserve memory in the router and not use memory in the CEF or fast switching tables.

Forcing packets to process switch will certainly impact performance of the router (it will require more CPU cycles than either fast switching or CEF switching) and it is difficult for me to think of a good reason to do this on other than a temporary basis.

no fair-queue will disable fair queue, which is a queuing method that is enabled by default on relatively low speed serial interfaces. The impact of reverting to FIFO queue instead of fair queue is more difficult to guage.

HTH

Rick

HTH

Rick

Thanks Rick for the prompt and concise response.

SK

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco