The propagate mapping for ip-prefix command allows the system to filter the received routes using an IP prefix list. LDP uses routes that match the addresses in the prefix list to establish a Transit label switched path (LSP).
The undo propagate mapping command restores the default configuration.
By default, when LDP establishes a Transit LSP, LDP does not filter received routes.
| Parameter | Description | Value |
|---|---|---|
| ip-prefix ip-prefix-name | Specifies the name of an IP prefix list used to filter routes. | The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
Usage Scenario
After MPLS LDP is enabled, LDP LSPs are automatically established, leading to a large number of transit LSPs and wasting resources. Run the propagate mapping command to configure a policy for establishing a transit LSP, allowing LDP to use routes that match the specified conditions to establish transit LSPs.
Prerequisites
MPLS LDP has been enabled globally using the mpls ldp (system view) command.
Configuration Impact
LDP establishes LSPs based on the setting.