The mpls ldp local-lsr-id command configures the primary IP address of a specified interface as a local LSR ID of the existing LDP session.
The undo mpls ldp local-lsr-id command restores the default primary IP address.
By default, the current LDP session uses the LSR ID of an LDP instance as a local LSR ID.