/var/run/ldpd.sock
UNIX-domain socket used for communication with ldpd(8).
Control 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:
clear neighbors [address] Delete entries from the neighbor table. address can be used to limit the scope of the command to the given neighbor.
fib coupleInsert the learned labels into the Label Forwarding Information Base a.k.a. the kernel routing table.
fib decoupleRemove the learned labels from the Label Forwarding Information Base a.k.a. the kernel routing table.
log briefDisable verbose debug logging.
log verboseEnable verbose debug logging.
reloadReload the configuration file.
show fib [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:
connectedShow only connected routes.
interfaceShow only interfaces.
staticShow only static routes.
connected, and static may be specified together.
show interfaces [family family] Show details for all interfaces. family, if given, limit the output to the given address family.
show discovery [family family] Show adjacencies. family, if given, limit the output to the given address family.
show neighbor [family family] Show neighbors. family, if given, limit the output to the given address family.
show lib [family family] Show the Label Information Base. family, if given, limit the output to the given address family.
show l2vpn bindingsShow the PWID Label Information Base.
show l2vpn pseudowiresShow the status of the configured pseudowires.
/var/run/ldpd.sock
UNIX-domain socket used for communication with ldpd(8).
35 releases since OpenBSD 4.7; the text changed 5 times.