# mpls ldp redistribute

#### Syntax

mpls ldp redistribute protocol [ route-map mapName ]

no mpls ldp redistribute protocol [ route-map mapName ]

#### Release Information

Command introduced in JunosE Release 7.1.0.

#### Description

Enables redistribution of routes from the specified IGP to LDP, enabling LDP to advertise labeled BGP routes for the inter-AS option C two-stack scenario. The no version halts redistribution from the specified IGP or according to the specified route map.

You can specify a route map to redistribute more specific routes to LDP. Only routes that pass the maps clauses are redistributed. If you do not use a route map for fine-grained control of route distribution, and you do not want to redistribute BGP routes, then you do not need to issue this command.

For backward compatibility, if you do not issue this command, LDP continues to advertise labels for IGP routes—including connected, static, IS-IS, OSPF, and RIP routes, but excluding BGP routes. That is, IGP routes other than BGP are redistributed to LDP by default.

#### Options

- protocol—Protocol from which routes are redistributed to LDP: BGP, connected, IS-IS, OSPF, RIP, or static
- mapName—Name of the route map used to redistribute more specific routing information from an IGP to LDP

#### Mode

Global Configuration