home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

protocols mpls-ldp lsr-id

Sets the local MPLS LDP LSR ID to the specified IP address.

set protocols mpls-ldp lsr-id ipaddr
delete protocols mpls-ldp lsr-id ipaddr
show protocols mpls-ldp lsr-id ipaddr
ipaddr
The IP address.

Configuration mode


protocols {
    mpls-ldp {
        lsr-id <ipaddr> 
    }
}

Use this command to set the local MPLS LDP LSR (Label Switch Router) ID to the specified IP address. The LSR-ID must be unique amongst the LDP LSRs. Unless otherwise specified, LDP will make use of the first configured IP address on a loopback interface.

Use the set form of this command to associate the local MPLS LDP LSR ID to the specified IP address.

Use the delete form of this command to delete the association of the local MPLS LDP LSR ID to the specified IP address.

Use the show form of this command to display the association of the local MPLS LDP LSR ID to the specified IP address.

Example

The following example shows how to associate the local MPLS LDP LSR ID to the IP address 192.166.3.2.

vyatta@R1# set protocols mpls-ldp lsr-id 192.166.3.2