Minimum LDP Configuration
To enable LDP with minimal configuration:
- Enable all relevant interfaces under family MPLS. In the case of directed LDP, the loopback interface needs to be enabled with family MPLS.
- (Optional) Configure the relevant interfaces under the [edit protocol mpls] hierarchy level.
- Enable LDP on a single interface, include the ldp statement and specify the interface using the interface statement.
This is the minimum LDP configuration. All other LDP configuration statements are optional.
To enable LDP on all interfaces, specify all for interface-name.
For a list of hierarchy levels at which you can include these statements, see the statement summary sections.