By allocating labels for labeled BGP routes, you can establish LDP LSPs for labeled BGP routes in the Level 2 carrier' network.
To configure LDP to distribute labels for the BGP-labeled routes of the public network, Perform the following steps on the Level 1 carrier CE.
The system view is displayed.
The MPLS view is displayed.
LDP is configured to allocate labels to labeled BGP routes of the public network.
If not-only-host is not specified, LDP allocates labels to only the BGP routes with 32-bit masks and establishes LSPs. If you want to assign labels to all the labeled BGP routes with non-32-bit masks and establish LSPs, specify the not-only-host parameter.
The configuration is committed.