LDP must be enabled in order for the protocol to be active. MPLS must also be enabled. MPLS is enabled in the config>router>mpls context.
Use the following syntax to enable LDP.
ldp
config>router# ldp
The following displays the enabled LDP configuration.
A:ALU_SIM11>config>router>ldp# info
----------------------------------------------
aggregate-prefix-match
prefix-exclude "sample"
exit
graceful-restart
exit
peer-parameters
peer 1.1.1.1
ttl-security 1
exit
exit
interface-parameters
interface "a"
exit
exit
targeted-session
exit
----------------------------------------------
A:ALU_SIM11>config>router>ldp#