Dear All, i was going through this doc
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
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 ?
"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.