Enabling LDP on an interface

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter interface view.

interface interface-type interface-number

If the interface is bound to a VPN instance, you must enable LDP for the VPN instance by using the vpn-instance command in LDP view.

3. Enable LDP on the interface.

mpls ldp enable

By default, LDP is disabled on an interface.