The mpls lsr-id command sets an LSR ID.
The undo mpls lsr-id command deletes an LSR ID.
By default, no LSR ID is set.
Parameter | Description | Value |
---|---|---|
lsr-id | Specifies the LSR ID of a device, which identifies the LSR. | The value is in dotted decimal notation. |
Usage Scenario
An LSR ID identifies an LSR on a network. On a network where MPLS services are deployed, you must configure the LSR IDs for devices.
An LSR does not have the default LSR ID, and you must configure an LSR ID for it. To enhance network reliability, you are advised to use the IP address of a loopback interface on the LSR as the LSR ID.
Follow-up Procedure
You can configure MPLS and associated services.
Precautions
Before changing or deleting a configured LSR ID, you must run the undo mpls command in the system view to delete all MPLS configurations. Exercise caution when you run the undo mpls command.