IGP-based LDP automatic configuration reduces configuration workloads and ensures correct configurations.
To configure IGP-based MPLS LDP, you need to enable MPLS LDP globally first and then on the interfaces that need the function. If a large number of interfaces need MPLS LDP, you need to configure them one by one, which is time-consuming and prone to configuration incorrectness.
To address this issue, configure IGP-based LDP automatic configuration. With IGP-based LDP automatic configuration, MPLS LDP is enabled automatically on IGP-capable interfaces after MPLS LDP is enabled globally.
Before configuring IGP-based LDP automatic configuration, complete the following tasks:
Configure basic IGP functions.
Enable MPLS and MPLS LDP globally.
Run the display mpls ldp interface [ interface-type interface-name | verbose | all ] command to check information about MPLS LDP-enabled interfaces.