lsp-trigger bgp-label-route

Function

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.

Format

lsp-trigger bgp-label-route [ ip-prefix ip-prefix-name ]

undo lsp-trigger bgp-label-route

Parameters

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.

Views

MPLS view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Trigger the establishment of LDP LSPs according to labeled BGP routes on the public network.

<sysname> system-view
[sysname] mpls
[sysname-mpls] lsp-trigger bgp-label-route
Related Topics
lsp-trigger

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.