Device model: NE40E
Software version: V600R008
Symptom: MPLS LDP configuration is not generated for the direct link routes imported to the BGP VPNv4 instance address family.
Check all the routing information about the prefix.
display bgp vpnv4 all routing-table X.X.3.0
Remote routes have a higher priority than the locally imported routes. Therefore, remote routes are preferentially selected.
For the NE40E, the local preference of BGP routes is 100 by default. The
local preference of the network segment prefix learned from the peer device is
The locally imported prefix is not preferentially selected. Therefore, BGP does not assign LSP to the prefix.
Delete the local preference configured for the remote device.
ipv4-family vpn-instance SXDD-VPN_1
undo default local-preference