1.\" $OpenBSD: ldpctl.8,v 1.4 2009/11/03 08:09:15 jmc Exp $ 2.\" 3.\" Copyright (c) 2009 Michele Marchetto <michele@openbsd.org> 4.\" Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org> 5.\" 6.\" Permission to use, copy, modify, and distribute this software for any 7.\" purpose with or without fee is hereby granted, provided that the above 8.\" copyright notice and this permission notice appear in all copies. 9.\" 10.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 11.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 13.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 14.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 15.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 16.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17.\" 18.Dd $Mdocdate: November 3 2009 $ 19.Dt LDPCTL 8 20.Os 21.Sh NAME 22.Nm ldpctl 23.Nd control the Label Distribution Protocol daemon 24.Sh SYNOPSIS 25.Nm 26.Ar command 27.Op Ar argument ... 28.Sh DESCRIPTION 29The 30.Nm 31program controls the 32.Xr ldpd 8 33daemon. 34.Pp 35The following commands are available: 36.Bl -tag -width Ds 37.It Cm lfib couple 38Insert the learned routes into the Label Forwarding Information Base a.k.a. 39the kernel routing table. 40.It Cm lfib decouple 41Remove the learned routes from the Label Forwarding Information Base a.k.a. 42the kernel routing table. 43.It Cm log brief 44Disable verbose debug logging. 45.It Cm log verbose 46Enable verbose debug logging. 47.It Cm show lfib Op Ar destination | filter 48Show the Label Forwarding Information Base. 49.Ar destination 50can be specified to show the route matching a destination IP address. 51.Ar filter 52can be any of the following: 53.Pp 54.Bl -tag -width "interfaceXXinterfaceXX" -compact 55.It Cm connected 56Show only connected routes. 57.It Cm interface 58Show only interfaces. 59.It Cm static 60Show only static routes. 61.El 62.Pp 63.Cm connected , 64and 65.Cm static 66may be specified together. 67.It Cm show interfaces 68Show details for all interfaces. 69.It Cm show neighbor 70Show neighbors. 71.It Cm show lib 72Show the Label Information Base. 73.El 74.Sh FILES 75.Bl -tag -width "/var/run/ldpd.sockXX" -compact 76.It /var/run/ldpd.sock 77.Ux Ns -domain 78socket used for communication with 79.Xr ldpd 8 . 80.El 81.Sh SEE ALSO 82.Xr ldpd.conf 5 , 83.Xr ldpd 8 84.Sh HISTORY 85The 86.Nm 87program first appeared in 88.Ox 4.6 . 89