OpenBSD manual page server

Manual Page Search Parameters
LDPCTL(8) System Manager's Manual LDPCTL(8)

ldpctlcontrol the LDP routing daemon

ldpctl command [argument ...]

The ldpctl program controls the ldpd(8) daemon. Commands may be abbreviated to the minimum unambiguous prefix; for example, s i for show interfaces.

The following commands are available:

[address]
Delete entries from the neighbor table. address can be used to limit the scope of the command to the given neighbor.
Insert the learned labels into the Label Forwarding Information Base a.k.a. the kernel routing table.
Remove the learned labels from the Label Forwarding Information Base a.k.a. the kernel routing table.
Disable verbose debug logging.
Enable verbose debug logging.
Reload the configuration file.
[family family] [destination | filter]
Show the Label Forwarding Information Base. family, if given, limit the output to the given address family. destination can be specified to show the route matching a destination IP address. filter can be any of the following:

Show only connected routes.
Show only interfaces.
Show only static routes.

connected, and static may be specified together.

[family family]
Show details for all interfaces. family, if given, limit the output to the given address family.
[family family]
Show adjacencies. family, if given, limit the output to the given address family.
[family family]
Show neighbors. family, if given, limit the output to the given address family.
[family family]
Show the Label Information Base. family, if given, limit the output to the given address family.
Show the PWID Label Information Base.
Show the status of the configured pseudowires.

/var/run/ldpd.sock
UNIX-domain socket used for communication with ldpd(8).

ldpd.conf(5), ldpd(8)

The ldpctl program first appeared in OpenBSD 4.6.

March 2, 2023 OpenBSD-current