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

LFIB Entry for Directly Connected Interfaces in a LSR

I have a loopback interface in my LSR. The directly connected interface and the loopback interface (which is again a directly connected interface) doesn't have a LFIB entry in my router. Although there is a LIB entry as imp-null for the directly connected interfaces. Am looking for pointers to understand this behaviour.


PE2#sh ip int brief

Interface                       IP-Address      OK? Method   Status              Protocol

FastEthernet0/0       YES NVRAM  up                    up

FastEthernet0/1       YES NVRAM  up                    up

FastEthernet1/0       YES NVRAM  up                    up

FastEthernet2/0            unassigned      YES NVRAM  administratively down down

Loopback0                      YES NVRAM  up                    up

PE2#sh mpls ldp bindings 32

  tib entry:, rev 4

        local binding:  tag: imp-null

        remote binding: tsr:, tag: 17

PE2#sh mpls forwarding-table

Local  Outgoing    Prefix            Bytes tag  Outgoing   Next Hop

tag    tag or VC   or Tunnel Id      switched   interface

16     16               0          Fa0/0

17     Pop tag           0          Fa0/0

18     18        0          Fa0/0

19     Pop tag    0          Fa0/0

20     20               0          Fa0/0

21     Untagged[V]      1242       Fa1/0

22     Aggregate[V] 0

Everyone's tags (3)
Cisco Employee

LFIB Entry for Directly Connected Interfaces in a LSR


The behavior you are describing is normal. The LFIB handles labeled packets, i.e. it tells the router what to do with a packet carrying a particular label. However, for directly connected networks, you expect to receive unlabeled packets because of Penultimate Hop Popping (that is why you have allocated an imp-null label for them and advertised it to your neighbors). So when your neighbors forward an unlabeled packet for any of your directly connected networks, you already receive it without any label, so there is no information in this packet LFIB could use to decide the next process for this packet. Instead, you must simply handle it in your routing table (or CEF to be more precise). That is why you do not have any antries for your directly connected networks in your LFIB - because LFIB only handles labeled packets while packets towards your directly connected networks arrive unlabeled.

Best regards,


CreatePlease to create content