The lsr-id command sets the LSR ID of an LDP instance.
The undo lsr-id command restores the default setting.
By default, the LSR ID of an LDP instance is the LSR ID of the LSR where the LDP instance is configured
Parameter | Description | Value |
---|---|---|
lsr-id | Specifies the LSR ID of an LDP instance. | The value is in dotted decimal notation. |
Usage Scenario
By default, the LSR ID of an LDP instance is the same as the MPLS LSR ID configured using the mpls lsr-id command. On some networks such as the BGP/MPLS VPNs to which VPN instances apply, if the VPN address space and the public network address space overlap, configure LSR IDs for LDP instances to ensure the correct establishment of TCP connections.
Prerequisites
MPLS has been enabled globally using the mpls (system view) command.
MPLS LDP has been enabled globally using the mpls ldp (system view) command.
Precautions
Modifying or deleting the LSR ID of an LDP instance causes the reestablishment of all sessions in the LDP instance.