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

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

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

LDP - LFIB Problem


If two routers are forming LDP neighbor relationship but no label swapping is taking place.

Is is due to CEF or anything to do with BGP relationship between these neighbors.

Please share the experience.

Thanks in advance


New Member

Re: LDP - LFIB Problem

Hi Subodh,

no Labels are assigned to BGP routes. Labels are only assigned to directly connected routes and IGP-learned routes.

Please share your topology here.


Re: LDP - LFIB Problem

Hi Subodh

You can also assign the labels with the help of BGP with in case of your scenario it is not required. If the basic configs are properly configured then it might be the issue of CEF. Please post the outputs of show mpls forwarding-table.


shivlu jain

New Member

Re: LDP - LFIB Problem

Hi Shivlu,

Of course, labels are assigned to BGP routes but only in MPLS VPN case running MP-iBGP.

Hall of Fame Super Silver

Re: LDP - LFIB Problem

Hello Amit,

>> Of course, labels are assigned to BGP routes but only in MPLS VPN case running MP-iBGP.

in some inter-AS or CSC scenarios you can use BGP to exchange labels the so called BGP with labels but it is an advanced topic.

usually if CEF is not enabled when you try to do sh mpls forwarding it clearly states CEF not running.

There are then some specific issues for example when using loopbacks for testing purposes with OSPF as IGP:

OSPF will try to advertise a /32 unless you configure

int loop m

ip ospf network point-to-point

LDP labels are installed if a corresponding prefix is found in CEF table and with the same outgoing interface/ IP next hop.

Hope to help


New Member

Re: LDP - LFIB Problem

Hi Giuseppe,

I am aware of Inter-AS/CSC where labels are forwarded using neighbor send-label command.

In MP-eBGP (in case of BGP Confederation implementation), new labels can be assigned using next-hop-self command.

Actually, I replied keeping into perspective a single AS. I guess, I should have been more specific.