Hello everybody ! I use a Catalyst 3550 for routing and switching my clients to the Internet. I established a BGP session with an ISP which give me a default route for Global Access and full routing table (BGP) for Metro Access. At the moment everything is going fine, but the memory resources are low. My question is : Is it possible to disable CEF on the switch port that is connected to the ISP ? And in this way the switch doesn't build a switching table with the bgp routes that it receives ? I receive from the ISP about 10k of metro routes and the installed memory on the switch is 64/8 MB.
Thank you in advance.
If you really want, you can disable CEF on the interface like this:
no ip route-cache cef
Then you can check if it's disabled:
sw3-c3550#sh ip int fa0/1 | i CEF
IP CEF switching is disabled
IP route-cache flags are Fast, No CEF
You'll find an interesting article about how to "Achieve Optimal Routing and Reduce BGP Memory Consumption"