24
Tasks at a glance
Configuring LDP MD5 authentication
Configuring an LSP generation policy
Configuring the LDP label distribution control mode
Configuring a label advertisement policy
Configuring a label acceptance policy
Configuring LDP loop detection
Configuring LDP session protection
Configuring LDP-IGP synchronization
Enabling SNMP notifications for LDP
Enabling LDP
To enable LDP, you must first enable LDP globally. Then, enable LDP on relevant interfaces or configure
IGP to automatically enable LDP on those interfaces.
Enabling LDP globally
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable LDP for the local
node or for a VPN.
•
Enable LDP for the local node and
enter LDP view:
mpls ldp
•
Enable LDP for a VPN and enter
LDP-VPN instance view:
a.
mpls ldp
b.
vpn-instance
vpn-instance-name
By default, LDP is disabled.
3.
Configure an LDP LSR ID.
lsr-id
lsr-id
By default, the LDP LSR ID is
the same as the MPLS LSR ID.
Enabling LDP on an interface
Step Command
Remarks
1.
Enter system view.
system-view
N/A