Configuring Ldp To Redistribute Bgp Unicast Routes; Configuring An Lsp Generation Policy - HP HPE FlexNetwork MSR Router Series Configuration Manual

Table of Contents

Advertisement

Configuring LDP to redistribute BGP unicast
routes
By default, LDP automatically redistributes IGP routes, including the BGP routes that have been
redistributed into IGP. Then, LDP assigns labels to the IGP routes and labeled BGP routes, if these
routes are permitted by an LSP generation policy. LDP does not automatically redistribute BGP
unicast routes if the routes are not redistributed into the IGP.
For example, on a carrier's carrier network where IGP is not configured between a PE of a Level 1
carrier and a CE of a Level 2 carrier, LDP cannot redistribute BGP unicast routes to assign labels to
them. For this network to operate correctly, you can enable LDP to redistribute BGP unicast routes. If
the routes are permitted by an LSP generation policy, LDP assigns labels to them to establish LSPs.
For more information about carrier's carrier, see
To configure LDP to redistribute BGP unicast routes:
Step
1.
Enter system view.
2.
Enter LDP view or enter
LDP-VPN instance view.
3.
Enable LDP to redistribute
BGP IPv4 unicast routes.
4.
Enable LDP to redistribute
BGP IPv6 unicast routes.

Configuring an LSP generation policy

LDP assigns labels to the routes that have been redistributed into LDP to generate LSPs. An LSP
generation policy specifies which redistributed routes can be used by LDP to generate LSPs to
control the number of LSPs, as follows:
Use all routes to establish LSPs.
Use the routes permitted by an IP prefix list to establish LSPs. For information about IP prefix
list configuration, see Layer 3—IP Routing Configuration Guide.
Use only IPv4 host routes with a 32-bit mask or IPv6 host routes with a 128-bit mask to
establish LSPs.
By default, LDP uses only IPv4 host routes with a 32-bit mask or IPv6 host routes with a 128-bit mask
to establish LSPs. The other two methods can result in more LSPs than the default policy. To change
the policy, make sure the system resources and bandwidth resources are sufficient.
To configure an LSP generation policy:
Step
1.
Enter system view.
2.
Enter LDP view or enter
"Configuring MPLS
Command
system-view
Enter LDP view:
mpls ldp
Enter LDP-VPN instance view:
a. mpls ldp
b. vpn-instance
vpn-instance-name
import bgp
ipv6 import bgp
Command
system-view
Enter LDP view:
30
L3VPN".
Remarks
N/A
N/A
By default, LDP does not
redistribute BGP IPv4 unicast
routes.
By default, LDP does not
redistribute BGP IPv6 unicast
routes.
Remarks
N/A
N/A

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HPE FlexNetwork MSR Router Series and is the answer not in the manual?

Questions and answers

Table of Contents