Before configuring basic functions of MPLS LDP, configure static routes or an IGP to ensure that IP routes between LSRs are reachable.
When Routing Information Protocol version 1 (RIP-1) is used, you need to enable LDP to search for routes to establish LSPs according to the longest match rule. For details, see Configuring LDP Extensions for Inter-Area LSPs.
Configure basic functions of MPLS LDP according to the following sequence.