interface GigabitEthernet0/1 ip address 10.1.1.1 255.255.255.0 mpls ip ! interface GigabitEthernet0/2 ip address 10.2.2.1 255.255.255.0 mpls ip ! router ospf 1 network 10.0.0.0 0.255.255.255 area 0 ! router ldp interface GigabitEthernet0/1 ! What is the effect of this configuration?
Correct. LDP adjacencies are only formed on interfaces where LDP is explicitly enabled.
Why this answer
LDP is only enabled on GigabitEthernet0/1, not on GigabitEthernet0/2. This means LDP will not form an adjacency over GigabitEthernet0/2, and MPLS forwarding may be incomplete.