Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

FIB, LIB and LFIB

Guys can someone please help me out as i cant get my head around MPLS terminologies......they say that FIB is derived from CEF and it sth etable which is mapping of network to lables (as in CEF its network to MAC) now LIB is mapping of lable to lable and say sthat it developed whne ldp is configured and LFIB is again network to lable maping.....so whats the difference between FIB and LFIB??? does LSR router contains all th etables (all three of it) guys plz help me out as i m vvv confused??? regards

5 REPLIES
New Member

Re: FIB, LIB and LFIB

Hi,

Take it this way

LIB--- whenever a labelled packet comes this table will be refered

FIB---whenever a nonlabelled packet comes this table will be refered

LFIB---Any route in the LFIB will also be in the LIB, but not the other way around. The LFIB is a subset of the LIB, based on SPF algorithm calculation.

Cheers

Ratheesh Nair

Cisco Employee

Re: FIB, LIB and LFIB

Taken a little furhter:

LIB is control plane - built by LDP, RSVP, etc based on entries in the RIB (routing information base - also control plane, built by OSPF, connected, static, etc). Maps all the entries in the RIB to an appropriate label

LFIB is forwarding plane. These are the entries that are used for forwarding lookup. Derived from the FIB (forwarding information base, which is derived from RIB).

FIB, along with the adjacency table is what comprises CEF.

unlabeled IP packets are identified by the protocol ID\Ethertype value in the layer 2 header, which would be 0x0800 and would be processed by the FIB

labeled packets are identified by the protocol ID\Ethertype value in the layer 2 header, which would be 0x8847 for mpls unicast and 0x8848 for mpls multicast and would be processed by the LFIB

Cisco Employee

Re: FIB, LIB and LFIB

Jay,

Just one precision, labels learnt via RSVP are not stored in the lib.

Regards,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
Cisco Employee

Re: FIB, LIB and LFIB

Harold,

Thanks for the correction.

Jay

New Member

Re: FIB, LIB and LFIB

HI ,

I just read ur comment.can u please tell me that in case of RSVP where are the labels stored if not in LIB. Is it the LFIB.and How??

Regards

Raghav

1698
Views
0
Helpful
5
Replies