Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

LDP Commands

List of the supported MPLS LDP operational commands and configuration commands

The supported MPLS LDP commands are grouped in the following sections:

  • MPLS LDP operational commands
  • MPLS LDP configuration commands

LDP operational commands

The following clear, reset, and show commands are available with MPLS LDP:

  1. clear mpls ldp statistics
  2. reset mpls ldp [adjacency all | X.X.X.X ] | [session all | X.X.X.X]
  3. show mpls ldp
  4. show mpls ldp adjacency
  5. show mpls ldp advertise-labels
  6. show mpls ldp discovery [ <interface> ]
  7. show mpls ldp downstream
  8. show mpls ldp fec
  9. show mpls ldp graceful-restart
  10. show mpls ldp igp sync
  11. show mpls ldp interface [ <interface> ]
  12. show mpls ldp isp [ detail | host | prefix ]
  13. show mpls ldp neighbors
  14. show mpls ldp routes
  15. show mpls ldp session [X.X.X.X]
  16. show mpls ldp statistics
  17. show mpls ldp upstream

LDP configuration commands

The following global configuration commands are available with MPLS LDP:

  1. protocols mpls-ldp lsr-id <ipaddr>
  2. protocols mpls-ldp neighbors neighbor <ip address> md5-password <text>
  3. protocols mpls-ldp neighbors session-downstream-on-demand
  4. protocols mpls-ldp neighbors session-ka-holdtime 30..3600
  5. protocols mpls-ldp neighbors session-ka-interval 10..1200
  6. protocols mpls-ldp address-family ipv4 label-policy advertise explicit-null
  7. protocols mpls-ldp address-family ipv4 label-policy advertise prefix-list <name>
  8. protocols mpls-ldp address-family ipv4 label-policy distribution-control-mode independent
  9. protocols mpls-ldp address-family ipv4 label-policy distribution-control-mode ordered
  10. protocols mpls-ldp address-family ipv4 transport-address <ip address>
  11. protocols mpls-ldp graceful-restart helper-enable
  12. protocols mpls-ldp graceful-restart reconnect-time 10..1800
  13. protocols mpls-ldp graceful-restart recovery-time 30..3600

The following interface configuration commands are available with MPLS LDP:

  1. protocols mpls-ldp discovery interfaces interface <name> address-family ipv4
  2. protocols mpls-ldp discovery interfaces hello-holdtime 15..3600
  3. protocols mpls-ldp discovery interfaces hello-interval 5..1200
  4. protocols mpls-ldp discovery interfaces interface <name> igp-synchronization-delay 3..60
  5. protocols mpls-ldp discovery interfaces interface <name> hello-holdtime 15..3600
  6. protocols mpls-ldp discovery interfaces interface <name> hello-interval 5..1200
  7. protocols mpls-ldp discovery interfaces interface <name> session-ka-holdtime 30..3600
  8. protocols mpls-ldp discovery interfaces interface <name> session-ka-interval 10..1200

The following logging configuration commands are available with MPLS LDP:

  1. protocols mpls-ldp log dsm
  2. protocols mpls-ldp log events
  3. protocols mpls-ldp log fsm
  4. protocols mpls-ldp log nsm
  5. protocols mpls-ldp log rib
  6. protocols mpls-ldp log usm
  7. protocols mpls-ldp log packet address | all | hello | init | keepalive | label | notification

Logging is enabled for LDP with the following command:

monitor protocols mpls ldp enable | disable [ dsm | events | fsm | nsm | packet | rib | usm ]