NAME
ldpctl —
control the Label Distribution Protocol
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:
fib couple- Insert the learned routes into the Label Forwarding Information Base a.k.a. the kernel routing table.
fib decouple- Remove the learned routes 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.
show fib[destination | filter]- Show the Label Forwarding Information Base.
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- Show details for all interfaces.
show neighbor- Show neighbors.
show lib- Show the Label Information Base.
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.