MPLS LDP Autoconfiguration
Table of Contents
Introduction
MPLS LDP Autoconfiguration enables LDP on interfaces that have OSPF or ISIS enabled.
MPLS LDP Autoconfiguration
- This feature can be used for faster configuration of LDP on a large number of links.
- It can also be used as a safeguard for configuration errors, in particular preventing a race condition with LDP IGP Synchronization caused by improper order of operation. For example if IGP is configured first, IGP adj comes up and then if LDP is configured afterwards on each interface, LDP IGP Synchronization errors will occur.
- Configuring LDP per interface with many interface could lead to configuration errors if some interface are skipped. With Autoconfiguration all interface that have IGP will have LDP enabled automatically.
- To remove LDP from some interfaces, use the no mpls ldp igp autoconfig command on those interfaces.
- To very autoconfiguration feature you can use either the command show mpls interface gi2/0 details or show ip ospf mpls interface or show mpls ldp discovery details. See commands below for outputs.
Relevant IOS Commands
mpls ldp autoconfig
R1(config-router)# mpls ldp autoconfig [area (id)]
no mpls ldp igp autoconfig
Disables per interface.
R1(config-if)# no mpls ldp igp autoconfig
show ip ospf mpls ldp interface
show ip ospf mpls ldp interface
show mpls interface details
show mpls interface details
show mpls ldp discovery detail
show mpls ldp discovery detail
Relevant XR Commands
mpls ldp autoconfig
Feature can be enable under different spots:
- Router process
- Area
RP/0/0/CPU0:XR11(config-ospf)# mpls ldp auto-config
RP/0/0/CPU0:XR11(config-ospf-ar)# mpls ldp auto-config
igp auto-config disable
Disables igp autoconfig per interface.
RP/0/0/CPU0:XR11(config-ldp-if)# igp auto-config disable