Vyatta NOS documentation

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

Configuring LDP

The minimum configuration required to enable MPLS with LDP is to enable LDP on an interface.

Configure the interfaces on which LDP should be activated.
To create a configuration that supports LDP, perform the following steps in configuration mode.
  1. Enable MPLS with LDP on a specific interface.
    vyatta@R1# set protocols mpls-ldp discovery interfaces interface dp0p1s1 address-family ipv4
    vyatta@R1# commit
    
  2. Repeat Step 1 for all interfaces on which LDP is be enabled.
  3. Display the MPLS LDP status for a specific interface.
    
    vyatta@R1# exit
    vyatta@R1:~$ show mpls ldp discovery dp0p1s1
    Status                  : Enabled
    Version                 : IPv4
    Primary IP Address      : 192.166.3.1
    Interface Type          : Ethernet
    Label Merge Capability  : Merge Capable
    Hold Time               : 15
    Hello Interval          : 5
    Targeted Hello Interval : 15
    Targeted Hold Time      : 45
    Keepalive Interval      : 10
    Keepalive Timeout       : 30
    Advertisement Mode      : Downstream Unsolicited
    Label Retention Mode    : Liberal
    Multicast Hellos        : Enabled
    Max PDU Length          : 4096
  4. Display all interfaces configured for LDP discovery.
    vyatta@R1:~$ show mpls ldp discovery 
    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
    

In the following example, three interfaces are enabled for MPLS LDP and the show mpls ldp discovery command is used to display all interfaces configured for LDP discovery.


vyatta@R1# set protocols mpls-ldp discovery interfaces interface dp0p1s1 address-family ipv4
vyatta@R1# set protocols mpls-ldp discovery interfaces interface dp0p1s2 address-family ipv4
vyatta@R1# set protocols mpls-ldp discovery interfaces interface dp0p1s3 address-family ipv4
vyatta@R1# commit
vyatta@R1# exit
vyatta@R1:~$ show mpls ldp discovery 
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