<｜begin▁of▁sentence｜>
### Instruction:
How to configure LDP loop detection?
### Response:
To configure LDP loop detection, use the 'loop-detection' command under the MPLS LDP configuration. RP/0/RSP0/CPU0:router(config)#mpls ldp
RP/0/RSP0/CPU0:router(config-ldp)#loop-detection
<|EOT|>
