The propagate mapping for ip-prefix command allows the system to filter out the received routes using an IP prefix list. LDP uses routes that match the addresses in the prefix list to establish an LSP.
The undo propagate mapping command restores the default setting.
By default, when LDP establishes an LSP, LDP does not filter out received routes.
Parameter | Description | Value |
---|---|---|
ip-prefix ip-prefix-name | Specifies the name of an IP prefix list used to filter out routes. | The value is an existing IP prefix list name. |
Usage Scenario
After MPLS LDP is enabled, LDP LSPs are automatically established, leading to a large number of LSPs and wasting resources. Run the propagate mapping command to configure a policy for establishing an LSP, allowing LDP to use routes that match the specified conditions to establish LSPs.
Prerequisites
MPLS LDP has been enabled globally using the mpls ldp (system view) command.
Precautions
Creating an IP prefix list before it is referenced is recommended. By default, nonexistent IP prefix lists cannot be referenced using the command. If the route-policy nonexistent-config-check disable command is run in the system view and a nonexistent IP prefix list is referenced using the current command, the device does not filter received routes.