cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6151
Views
20
Helpful
5
Replies

RIB,FIB,LIB,LFIB

network_geek
Level 1
Level 1

Hi!

Can anyone briefly describe the difference between RIB,FIB,LIB,LFIB. How CEF comes into action and building adjacency tables.

It would be really helpful if you could share a document on them as well.

 

Thank is advance.

1 Accepted Solution

Accepted Solutions

Hello tiger.ibra123,

CEF builds a separate table called Adjacency table to store detailed forwarding information  about the next-hops.

The FIB for each FEC entry contains a pointer to one or more entries in the Adjacency table.

 

This separation provides efficiency, as the number of next-hops is quite lower compared to the number of IP prefixes.

 

The packet rewrite information contained for each next-hop is so low level that also MPLS next-hops should be supported including MPLS IGP label (or external label).

I don't think that exist an IP Adjacency table and an MPLS Adjacency  table.

 

Warning : a router is not able to distinguish between two equal cost paths one via an IP only path and one via an MPLS enabled network.

To avoid issues with MPLS L3 VPN connectivity that requires to use MPLS enabled paths , IP only paths can be used but should have an higher IGP cost so that they are not used and not in competition with MPLS enabled links.

 

This known limitation should confirm that the ADj table is only one.

 

Hope to help

Giuseppe

 

View solution in original post

5 Replies 5

luis_cordova
VIP Alumni
VIP Alumni

Although the discussion is quite healthy but it does not clarify the difference between all.

balaji.bandi
Hall of Fame
Hall of Fame

RIB  - Routing Information Base 

This is the route table. ( seperate case with VRF- Each VRF have their own).

 

FIB – Forwarding Information Base
The FIB is an optimised version of the RIB. Or more correctly it’s the table a router looks at when deciding where to actually forward traffic. In Cisco land, the CEF table is a FIB.

 

MPLS

LIB – Label Information Base
The LIB is an MPLS table. This is the place where the router will keep all known MPLS labels.

 

LFIB – Label Forwarding Instance Base
The LFIB is another MPLS table. This is the table that the router uses to forward labelled packets going through the network.  LIB uses the LFIB to forward traffic.

 

 

fib.JPG

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Can I say that the FIB maintains all outgoing interfaces for a specific destination and the MAC address of the next hop as well?

Hello tiger.ibra123,

CEF builds a separate table called Adjacency table to store detailed forwarding information  about the next-hops.

The FIB for each FEC entry contains a pointer to one or more entries in the Adjacency table.

 

This separation provides efficiency, as the number of next-hops is quite lower compared to the number of IP prefixes.

 

The packet rewrite information contained for each next-hop is so low level that also MPLS next-hops should be supported including MPLS IGP label (or external label).

I don't think that exist an IP Adjacency table and an MPLS Adjacency  table.

 

Warning : a router is not able to distinguish between two equal cost paths one via an IP only path and one via an MPLS enabled network.

To avoid issues with MPLS L3 VPN connectivity that requires to use MPLS enabled paths , IP only paths can be used but should have an higher IGP cost so that they are not used and not in competition with MPLS enabled links.

 

This known limitation should confirm that the ADj table is only one.

 

Hope to help

Giuseppe

 

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:

Review Cisco Networking products for a $25 gift card