LDPCTL(8) System
Manager's Manual LDPCTL(8)
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[familyfamily] [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, andstaticmay be specified together. show interfaces[familyfamily]- Show details for all interfaces. family, if given, limit the output to the given address family.
show discovery[familyfamily]- Show adjacencies. family, if given, limit the output to the given address family.
show neighbor[familyfamily]- Show neighbors. family, if given, limit the output to the given address family.
show lib[familyfamily]- 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.
OpenBSD 7.8 March
2, 2023 LDPCTL(8)