[350-401]Difference between FIB andRIB part.1

Question

Which of the following is correct about the difference between RIB and FIB?
  1. Fib is based on THERIB.
  2. Rib maintains fib mirror image.
  3. RIB is used to determine switching based on ip source prefix.
  4. The FIB stores all IP routing information.
See answers
(1)

Commentary

FIB(Forwarding Information Base)

A FIB is a table that contains the transfer information generated when the device has enabled the switching mechanism Cisco Express Forwarding (CEF). A FIB contains a prefix from an IP routing table or global RIB that is structured in a way that is optimized for forwarding. When routing or topology changes occur on the network, the IP routing table is updated and these changes are reflected in the FIB. The FIB holds the next-hop address information based on the information in the IP routing table.

RIB(Routing Information Base)

A central repository of routes containing L3 reachability information and source IP addresses or prefixes. RIB is also known as a routing table.

<参考>https://www.cisco.com/c/ja_jp/td/docs/cian/ios/ios15-1s/cg/013/isw-15-1s-cg/cef-overview.html#16041</参考>