Configuring Ldp To Redistribute Bgp Unicast Routes - HP FlexNetwork HSR6600 Configuration Manual

Comware 7 mpls
Hide thumbs Also See for FlexNetwork HSR6600:
Table of Contents

Advertisement

Step
3.
Enable LDP MD5
authentication.
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 "Configuring MPLS L3VPN."
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:
Command
md5-authentication peer-lsr-id { cipher |
plain } string
Command
system-view
Enter LDP view:
mpls ldp
Enter LDP-VPN instance view:
a. mpls ldp
b. vpn-instance
vpn-instance-name
import bgp [ as-number ]
ipv6 import bgp [ as-number ]
30
Remarks
By default, LDP MD5
authentication is disabled.
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.

Advertisement

Table of Contents
loading

Table of Contents