Information About MPLS LDP Autoconfiguration
To enable LDP, you should configure it globally and on each interface where it is needed. Configuring
LDP on many interfaces can be time-consuming. The following section provides information about
autoconfiguration feature on OSPF and IS-IS interfaces:
MPLS LDP Autoconfiguration on OSPF and IS-IS Interfaces, page 52

MPLS LDP Autoconfiguration on OSPF and IS-IS Interfaces

The MPLS LDP Autoconfiguration feature enables you to globally enable LDP on every interface
associated with an IGP instance. This feature is supported on OSPF and IS-IS IGPs. It provides a means to
block LDP from being enabled on interfaces that you do not want enabled. The goal of the MPLS LDP
Autoconfiguration feature is to make configuration easier, faster, and error free.
You issue the mpls ldp autoconfigcommand to enable LDP on each interface that is running an OSPF or
IS-IS process. If you do not want some of the interfaces to have LDP enabled, you can issue the no form of
the mpls ldp igp autoconfig command on those interfaces.
How to Configure MPLS LDP Autoconfiguration
Configuring MPLS LDP Autoconfiguration with OSPF Interfaces, page 52
Disabling MPLS LDP Autoconfiguration from Selected OSPF Interfaces, page 54
Verifying MPLS LDP Autoconfiguration with OSPF, page 55
Configuring MPLS LDP Autoconfiguration with IS-IS Interfaces, page 57
Disabling MPLS LDP Autoconfiguration from Selected IS-IS Interfaces, page 59
Verifying MPLS LDP Autoconfiguration with IS-IS, page 60

Configuring MPLS LDP Autoconfiguration with OSPF Interfaces

The following steps explain how to configure LDP for interfaces running OSPF processes.
SUMMARY STEPS
1. enable
2. configure terminal
3. mpls ip
4. mpls label protocol ldp
5. interface type number
6. ip address prefix mask
7. exit
8. router ospf process-id
9. network ip-address wildcard-mask area area-id
10.mpls ldp autoconfig [area area-id]
11.end
MPLS LDP Autoconfiguration on OSPF and IS-IS Interfaces
Information About MPLS LDP Autoconfiguration
MPLS LDP Configuration Guide, Cisco IOS Release 12.4
52