Configuring Longest Match for LDP
In order to allow LDP to learn the routes aggregated or summarized across OSPF areas or ISIS levels in inter -domain, Junos OS allows you to configure longest match for LDP based on RFC5283.
Before you configure longest match for LDP, you must do the following:
Configure the device interfaces.
Configure the MPLS protocol.
Configure the OSPF protocol.
To configure longest match for LDP, you must do the following: