R21xx-HP FlexFabric 11900 MPLS Command Reference

Table Of Contents
64
Views
LDP view, LDP-VPN instance view
Predefined user roles
network-admin
Parameters
all: Enables LDP to use all routes to generate LSPs.
prefix-list prefix-name: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63 characters.
LDP can only use the routes permitted by the IP prefix list to generate LSPs.
Usage guidelines
The default LSP generation policy depends on the label distribution control mode.
In Ordered mode, LDP can only use the Loopback interface address routes with a 32-bit mask and
the routes with a 32-bit mask that match the FECs of label mappings received from downstream LSRs
to generate LSPs.
In Independent mode, LDP can use all routes with a 32-bit mask to generate LSPs.
After you configure an LSP generation policy, LDP uses all routes or the routes permitted by the IP prefix
list to generate LSPs, regardless of the label distribution control mode.
HP recommends that you use the default LSP generation policy.
Examples
# Configure an LSP generation policy to use only routes 10.10.1.0/24 and 10.20.1.0/24 to establish LSPs
for the public network.
<Sysname> system-view
[Sysname] ip prefix-list egress-fec-list index 1 permit 10.10.1.0 24
[Sysname] ip prefix-list egress-fec-list index 2 permit 10.20.1.0 24
[Sysname] mpls ldp
[Sysname-ldp] lsp-trigger prefix-list egress-fec-list
Related commands
ip prefix-list (Layer 3—IP Services Command Reference)
lsr-id
Use lsr-id to configure an LDP LSR ID.
Use undo lsr-id to delete the configured LDP LSR ID.
Syntax
lsr-id lsr-id
undo lsr-id
Default
No LDP LSR ID is configured. LDP uses the MPLS LSR ID configured by the mpls lsr-id command for both
the public network and VPN instances.
Views
LDP view, LDP-VPN instance view