| LDPD(8) | System Manager's Manual | LDPD(8) | 
ldpd —
| ldpd | [ -DdfhW] [-cconfig_file] [-pport] | 
ldpd is a utility used to automatically distribute
  labels between two MPLS LSRs conforming to RFC5036. Currently some features
  described by RFC5036 are not fully implemented (see
  BUGS section). ldpd
  supports peering with IPv6 LDP speakers and IPv6 labels exchange, conforming
  to specifications in RFC5036 and draft-ietf-mpls-ldp-ipv6.
ldpd logs information using the
    syslog(3) interface. You can
    increase the log verbosity using the -W and
    -D flags.
Administrators can use telnet(1) to connect to the control port (default: 2626) and use this interface in order to get informations about protocol status, neighbours et cetera but also to set runtime parameters. The password required for connecting is the same as the root password.
ldpd computes existing routes and tries to
    match them on MPLS labels announced by other LDP peers. This means that
    usual IP routes will be changed into tagged routes, and MPLS routing table
    will be populated. Any change in MPLS topology will also be announced to LDP
    neighbors. ldpd uses currently Independent Control
    Mapping and Downstream Unsolicited mode for Label Advertisment.
    ldpd will listen on a route socket and compute the
    necessary changes in order to change untagged routes into tagged routes.
    This means that one may use one's favourite dynamic routing protocol daemon
    without modifications.
The options are as follows:
-c
    config_file-D-dldpd will not
      make any changes to routing table if started with this option.-f-h-p
    port-WLDP Specification, RFC, 5036, October 2007.
LDP Applicability, RFC, 3037, January 2001.
Updates to LDP for IPv6, DRAFT, draft-ietf-mpls-ldp-ipv6-07, June 2012.
ldpd command appeared in NetBSD
  6.0.
ldpd doesn't implement Path Vector and Hop Count TLVs.
ldpd. This is the current way used to filter
  neighbours and to protect the system from possible external attacks like route
  injections.
| February 4, 2013 | NetBSD 9.4 |