< Home

Configuring LSR ID

Context

An LSR ID identifies an LSR on a network. 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.

Perform the following steps on each node in an MPLS domain.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run mpls lsr-id lsr-id

    The LSR ID of the local node is configured.

    By default, no LSR ID is set.

Follow-up Procedure

Before changing the configured LSP ID, run the undo mpls command in the system view.

Running the undo mpls command to delete all MPLS configurations will interrupt MPLS services, so plan the LSR ID of each LSP uniformly to prevent LSR ID change.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >