To configure LDP MD5 authentication:
Step
1.
Enter system view.
2.
Enter LDP view or enter
LDP-VPN instance view.
3.
Enable LDP MD5
authentication.
Configuring an LSP generation policy
An LSP generation policy controls the number of LSPs generated by LDP in one of the following ways:
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 host routes with a 32-bit mask to establish LSPs.
•
By default, LDP uses only host routes with a 32-bit mask to establish LSPs. The other two methods can
result in more LSPs than the default policy. To change the policy, be sure that 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
LDP-VPN instance view.
3.
Configure an LSP
generation policy.
Configuring the LDP label distribution control mode
Step
1.
Enter system view.
Command
system-view
•
Enter LDP view:
mpls ldp
•
Enter LDP-VPN instance view:
a.
mpls ldp
b.
vpn-instance vpn-instance-name
md5-authentication peer-lsr-id { cipher |
plain } password
Command
system-view
•
Enter LDP view:
mpls ldp
•
Enter LDP-VPN instance view:
a.
mpls ldp
b.
vpn-instance vpn-instance-name
lsp-trigger { all | prefix-list
prefix-list-name }
Command
system-view
28
Remarks
N/A
N/A
By default, LDP MD5
authentication is disabled.
Remarks
N/A
N/A
By default, LDP uses only host
routes with a 32-bit mask to
establish LSPs.
Remarks
N/A