NAME
ldpctl – control the LDP routing daemon
SYNOPSIS
ldpctl command [argument ...]
DESCRIPTION
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 couple
-
Insert the learned labels into the Label Forwarding Information Base a.k.a. the kernel routing table.
- fib decouple
-
Remove the learned labels from the Label Forwarding Information Base a.k.a. the kernel routing table.
- log brief
-
Disable verbose debug logging.
- log verbose
-
Enable verbose debug logging.
- reload
-
Reload 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:
- connected
-
Show only connected routes.
- interface
-
Show only interfaces.
- static
-
Show 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 bindings
-
Show the PWID Label Information Base.
- show l2vpn pseudowires
-
Show the status of the configured pseudowires.
FILES
- /var/run/ldpd.sock
-
UNIX-domain socket used for communication with ldpd(8).
SEE ALSO
HISTORY
The ldpctl program first appeared in OpenBSD 4.6.