To enable LDP to allocate labels for BGP, you need first import BGP routes into the IGP routing table.
Import BGP routes to the IGP routing table. IS-IS is used as an example.
Perform the following steps on the Level 1 carrier CE.
The system view is displayed.
The IS-IS view is displayed.
BGP routes are imported into the IGP routing table.
The configuration is committed.