man.bsd.lv manual page server

Manual Page Search Parameters

LDPD.CONF(5) File Formats Manual LDPD.CONF(5)

ldpd.confldpd configuration file

ldpd.conf

The ldpd.conf file defines the ldpd(8) initial setup and may contain information about LDP identificator, network, neighbour and interface parameters. Blank lines are allowed and comments lines should start with ‘#’. Non block lines should end with a semicolon.

/etc/ldpd.conf
The file ldpd.conf resides in /etc.

The following options are accepted:

Control and command TCP port (default: 2626)
Interval in seconds on which hellos are sent out on interfaces (default: 6s)
Interface block commands (see below)
Keepalive interval in seconds for established peers (default: 4s)
Force using a certain LDP Identificator (default autogenerated, highest INET4 address set on an interface excluding 127/8 range)
Minimum number used for generated labels (default: 16)
Maximum number used for generated labels (default: 1048576)
Neighbour block subcommands (see below)
If set to 0 ldpd(8) will try to tag also the default route (default: 1)

Interface block supports the following parameters

Don't send hellos on interface
Transport INET4 address advertised in hellos sent on the mentioned interface

Neighbour block supports the following parameters

Authenticate peer using TCP MD5 signature - needs options TCP_SIGNATURE. Default: off

The following is an example /etc/ldpd.conf file:

# Transport address needs to be an alias for this interface
interface re0 {
	transport-address 192.168.2.2
}

# Don't send hellos on en0
interface en0 {
	passive
}

# Force a certain LDP ID
ldp-id 10.5.1.1;

# Tag also the default route
no-default-route 0;

neighbour 192.168.2.1 {
# TCP MD5 authentication - requires options TCP_SIGNATURE
	authenticate
}

mpls(4), ldpd(8)

Support for ldpd.conf first appeared in NetBSD 6.0.

October 18, 2013 NetBSD-9.2