enable mpls ldp bgp-routes

enable mpls ldp bgp-routes


Enables LDP to use IP prefixes learned from BGP when establishing LDP LSPs.

Syntax Description

This command has no arguments or variables.



Usage Guidelines

This command allows LDP to use routes learned via BGP when establishing LDP LSPs. Because each established LSP consumes internal resources, it is recommended that this setting be used only in BGP environments where the number of BGP routes is controlled.

When disabled, LDP does not establish LSPs to routes learned via BGP, thus reducing the internal resources used by LDP. Note that MPLS LSPs can still be used to transport packets to routes learned via BGP through the use of the enable bgp mpls-next-hop command.


The following command enables the use of BGP routes by LDP:

enable mpls ldp bgp-routes


This command was first available in ExtremeXOS 11.6.

Platform Availability

This command is available only on the platforms that support MPLS as described in the ExtremeXOS and Switch Engine 31.7 Feature License Requirements document.