26Tasks at a glance(Optional.) Configuring LDP NSR(Optional.) Configuring LDP-IGP synchronization(Optional.) Configuring LDP FRR(Optional.) Setting a DSCP value for outgoing LDP packets(Optional.) Resetting LDP sessions(Optional.) Enabling SNMP notifications for LDPEnabling LDPTo enable LDP, you must first enable LDP globally. Then, enable LDP on relevant interfaces orconfigure IGP to automatically enable LDP on those interfaces.Enabling LDP globallyStep Command Remarks1. Enter system view. system-view N/A2. Enable LDP for the localnode or for a VPN.• Enable LDP for the local nodeand enter LDP view:mpls ldp• Enable LDP for a VPN and enterLDP-VPN instance view:a. mpls ldpb. vpn-instancevpn-instance-nameBy default, LDP is globallydisabled.3. Configure an LDP LSR ID. lsr-id lsr-id By default, the LDP LSR ID isthe same as the MPLS LSR ID.Enabling LDP on an interfaceStep Command Remarks1. Enter system view. system-view N/A2. Enter interface view. interface interface-typeinterface-numberIf the interface is bound to a VPNinstance, you must enable LDPfor the VPN instance by usingthe vpn-instance command inLDP view.3. Enable IPv4 LDP on theinterface. mpls ldp enable By default, IPv4 LDP is disabledon an interface.4. Enable IPv6 LDP on theinterface. mpls ldp ipv6 enable By default, IPv6 LDP is disabledon an interface.