28
Step Command
Remarks
view:
a. mpls ldp
b. vpn-instance
vpn-instance-name
3.
Set the initial delay time and
maximum delay time.
backoff
initial
initial-time
maximum
maximum-time
By default, the initial delay time is
15 seconds, and the maximum
delay time is 120 seconds.
37B
Configuring LDP MD5 authentication
To improve security for LDP sessions, you can configure MD5 authentication for the underlying TCP
connections to check the integrity of LDP messages.
For two LDP peers to establish an LDP session successfully, make sure the LDP MD5 authentication
configurations on the LDP peers are consistent.
To configure LDP MD5 authentication:
Step Command Remarks
1.
Enter system view.
system-view
N/A
2.
Enter LDP view or enter
LDP-VPN instance view.
•
Enter LDP view:
mpls ldp
•
Enter LDP-VPN instance view:
a. mpls ldp
b. vpn-instance
vpn-instance-name
N/A
3.
Enable LDP MD5
authentication.
md5-authentication
peer-lsr-id
{
cipher
|
plain
}
string
By default, LDP MD5
authentication is disabled.
38B
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
"
694H
Configuring MPLS L3VPN
."
To configure LDP to redistribute BGP unicast routes:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter LDP view or enter
LDP-VPN instance view.
•
Enter LDP view:
mpls ldp
N/A