Command or Action Purpose
Step 8 router ospf process-id
Example:
Router(config)# router ospf 1
Enables OSPF routing and enters router configuration mode.
Step 9 network ip-address wildcard-mask area area-id
Example:
Router(config-router)# network 10.0.0.0
0.0.255.255 area 3
Specifies the interface on which OSPF runs and defines the
area ID for that interface.
Step 10 mpls ldp autoconfig [area area-id]
Example:
Router(config-router)# mpls ldp autoconfig
area 3
Enables the MPLS LDP Autoconfiguration feature to enable
LDP on interfaces belonging to an OSPF process.
If no area is specified, the command applies to all
interfaces associated with the OSPF process. If an area
ID is specified, then only interfaces associated with that
OSPF area are enabled with LDP.
Step 11 end
Example:
Router(config-router)# end
Exits router configuration mode and returns to privileged
EXEC mode.
Disabling MPLS LDP Autoconfiguration from Selected OSPF Interfaces
When you issue the mpls ldp autoconfig command, all the interfaces that belong to an OSPF area are
enabled for LDP. To remove LDP from some interfaces, use the no mpls ldp igp autoconfigcommand on
those interfaces. The following configuration steps show how to disable LDP from some of the interfaces
after they were configured with the MPLS LDP Autoconfiguration feature with the mpls ldp autoconfig
command.
SUMMARY STEPS
1. enable
2. configure terminal
3. interface type number
4. no mpls ldp igp autoconfig
5. end
Disabling MPLS LDP Autoconfiguration from Selected OSPF Interfaces
How to Configure MPLS LDP Autoconfiguration
MPLS LDP Configuration Guide, Cisco IOS Release 12.4
54