The no ldp command disables the LDP protocol on the router. All parameters revert to the default settings. LDP must be shut down before it can be disabled.
Use the following CLI syntax to disable LDP:
no ldp
shutdown
config>router# ldp
config>router>ldp# shutdown
config>router>ldp# exit
config>router# no ldp