enable mpls ldp bgp-routes

enable mpls ldp bgp-routes

Description

Enables LDP to use IP prefixes learned from BGP (Border Gateway Protocol) when establishing LDP LSPs.

Syntax Description

This command has no arguments or variables.

Default

Enabled.

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 (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.

Example

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

enable mpls ldp bgp-routes

History

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