< Home

Configuring the LSR ID

Before enabling MPLS, configure the LSR ID.

Context

When configuring an LSR ID, note the following issues:

  • The LSR ID must be configured before other MPLS commands are run.

  • The LSR ID does not have a default value and must be configured manually.

  • Using the address of the loopback interface of the LSR as the LSR ID is recommended.

  • To modify the configured LSR ID, run the undo mpls command in the system view to delete all the MPLS configurations.

LSR IDs must be mutually reachable.

Perform the following steps on each LSR in an MPLS domain:

Procedure

  1. Access the system view.

    system-view

  2. Set the LSR ID of the local node.

    mpls lsr-id lsr-id

    lsr-id: A number in dotted decimal notation that identifies an LSR.

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