disable mpls ldp bgp-routes

disable mpls ldp bgp-routes


Disables LDP‘s use of IP prefixes learned from BGP (Border Gateway Protocol) when establishing LDP LSPs.

Syntax Description

This command has no arguments or variables.



Usage Guidelines

This command disables LDP‘s establishment of LSPs to routes learned via BGP, thus reducing the internal resources used by LDP. Note that MPLS (Multiprotocol Label Switching) LSPs can still be used to transport packets to routes learned via BGP through the use of the enable bgp mpls-next-hop command.

When enabled, LDP uses routes learned via BGP when establishing LDP LSPs. As 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.


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

disable 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 22.2 Feature License Requirements document.