<｜begin▁of▁sentence｜>
### Instruction:
What is the purpose of the 'mpls ldp graceful-restart' command in Cisco IOS XR?
### Response:
The 'mpls ldp graceful-restart' command enables the LDP Graceful Restart (GR) feature. LDP GR allows an LDP session to be maintained during an LDP process restart, avoiding the need to re-establish the session and minimizing traffic loss. It requires the neighboring routers to also support LDP GR and to maintain the forwarding state for the LDP labels during the restart.
<|EOT|>
