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.

Configuring LDP on an interface

To establish LDP sessions and exchange labels with a peer, LDP must be enabled on the neighbors' interfaces.

To use LDP, configure a loopback address with a 32-bit mask on the LSR. The first loopback address configured on the device is used in its LDP identifier. When the loopback address used in the LDP identifier is removed, all LDP functions on the LSR are shut down. LDP sessions between the LSR and its peers are terminated, and LDP-created tunnels are removed. When other loopback interfaces are configured on the device, the lowest-numbered loopback address is used as a new LDP identifier. LDP sessions and tunnels are set up using this new LDP identifier.

Configure LDP on the same set of interfaces that IGP routing protocols such as OSPF are enabled.

To configure LDP on an interface, perform the following steps.

  1. Enable MPLS LDP on an interface in configuration mode.
    vyatta@R1# set protocol mpls-ldp discovery interfaces interface dp0p1s1 address-family ipv4 
  2. Verify the configuration of the interface in operational mode.
    vyatta@vyatta:~$ show mpls ldp interface dp0p1s1
    Interface        LDP Identifier           LDP Enabled Version Merge Capability
    dp0p1s1          2.2.2.2:0                Enabled     IPv4    Merge capable

The following example displays MPLS LDP configured on three interfaces.

vyatta@vyatta:~$ show mpls ldp interface 
Interface        LDP Identifier           LDP Enabled Version Merge Capability
lo               2.2.2.2:0                Disabled            N/A
dp0s4            2.2.2.2:0                Disabled            N/A
dp0p1s1          2.2.2.2:0                Enabled     IPv4    Merge capable
dp0p1s2          2.2.2.2:0                Enabled     IPv4    Merge capable
dp0p1s3          2.2.2.2:0                Enabled     IPv4    Merge capable