08-02-2009 09:03 PM - edited 03-06-2019 07:03 AM
Dear All, i was going through this doc
http://www.cisco.com/en/US/tech/tk364/technologies_tech_note09186a0080093fdc.shtml
When we usually want to know the route for a network lets say 10.20.1.1, i usually do this
sh ip route 10.20.1.1.
After reading the above doc, if i have enabled cef, then which one is more accurate or should be put into practice
1) sh ip route x.x.x.x
or
2) sh ip cef x.x.x.x
Pls your input is highly appreciated, i also know that cef is an enhanced copy of routing table and after cef is enabled, is routing table is consulted at all ?
Solved! Go to Solution.
08-02-2009 09:13 PM
"show ip route" shows RIB (routing information base) - aka control plane
"show ip cef" shows FIB (forwarding information base) - aka data plane
Routing Protocols and static routes are used to populate RIB. RIB information is used to update FIB. FIB is used to forward packets.
08-02-2009 09:13 PM
"show ip route" shows RIB (routing information base) - aka control plane
"show ip cef" shows FIB (forwarding information base) - aka data plane
Routing Protocols and static routes are used to populate RIB. RIB information is used to update FIB. FIB is used to forward packets.
08-02-2009 10:10 PM
Dear Roman, thanks alot for the feedback. So when checking the route which one should be used
sh ip route
or sh ip cef ?
Kindly confirm my point,
08-03-2009 12:53 AM
As Roman said, the RIB is used to update the FIB so using "sh ip route" is the way to go.
Only if traffic is not routing the way it should be would you then start to investigate the CEF adjacencies.
Jon
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide