LDP

LDP protocol

LDP (Label Distribution Protocol) is a protocol used in Multiprotocol Label Switching (MPLS) networks to establish label-switched paths (LSPs).

Configuration must be performed in CLI because there is no intent to enable or configure LDP. The CLI commands below are the minimum required to enable this protocol.

Configuring LDP
 

Configure LDP on nodes.

Classic nodes:

/configure router ldp

MD nodes:

/edit-config private

/configure router ldp admin-state enable

/commit

/admin save

/exit all

/quit-config


Check the status of the protocols on all nodes:

/show router ldp status

Note: For LDP to be operational, users need to configure the IPv4 and IPv6 bindings manually via CLI. The bindings are not attributes users can select/configure via the intent type.


Log in to each router via CLI.


Add the IPv4 and/or IPv6 bindings to the protocol traffic-engineering on OSPF, IS-IS, or both via CLI since it cannot be done through NSP via an ICM pre-defined intent:

Classic:

/configure router ldp interface-parameters interface "<interface_name>" ipv4 no shutdown

/configure router ldp interface-parameters interface "<interface_name>" ipv6 no shutdown

MD:

/configure router ldp interface-parameters interface "<interface_name>" ipv4

/configure router ldp interface-parameters interface "<interface_name>" ipv6


Repeat Step 4 for all interfaces under the LDP context.

Figure 7-29: Ex. Classic
Ex. Classic

Note: The IPv4 binding should be configured by default even though this attribute is not part of the intent type for classic NEs only.

End of steps