The lsp-trigger bgp-label-route command enables LDP to allocate labels for labeled BGP routes on the public network.
The undo lsp-trigger bgp-label-route command restores the default settings.
By default, LDP does not allocate labels for labeled BGP routes on the public network.
| Parameter | Description | Value |
|---|---|---|
| ip-prefix ip-prefix-name | Specifies the name of the IP prefix list that triggers the labeled BGP routes on the public network to set up LDP LSPs. | 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. |
Both the lsp-trigger bgp-label-route command and the lsp-trigger command can be used to configure policies to trigger the establishment of LDP LSPs. The first command is used for labeled BGP routes on the public network, and the second command is used for static routes and IGP routes.