1*328c3f4bSjmc.\" $OpenBSD: ripctl.8,v 1.13 2023/03/02 17:09:53 jmc Exp $ 28eeeb81eSnorby.\" 38eeeb81eSnorby.\" Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it> 48eeeb81eSnorby.\" Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org> 58eeeb81eSnorby.\" 68eeeb81eSnorby.\" Permission to use, copy, modify, and distribute this software for any 78eeeb81eSnorby.\" purpose with or without fee is hereby granted, provided that the above 88eeeb81eSnorby.\" copyright notice and this permission notice appear in all copies. 98eeeb81eSnorby.\" 108eeeb81eSnorby.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 118eeeb81eSnorby.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 128eeeb81eSnorby.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 138eeeb81eSnorby.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 148eeeb81eSnorby.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 158eeeb81eSnorby.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 168eeeb81eSnorby.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 178eeeb81eSnorby.\" 18*328c3f4bSjmc.Dd $Mdocdate: March 2 2023 $ 198eeeb81eSnorby.Dt RIPCTL 8 208eeeb81eSnorby.Os 218eeeb81eSnorby.Sh NAME 228eeeb81eSnorby.Nm ripctl 23*328c3f4bSjmc.Nd control the RIP routing daemon 248eeeb81eSnorby.Sh SYNOPSIS 258eeeb81eSnorby.Nm 266bc5aa9fSjca.Op Fl s Ar socket 278eeeb81eSnorby.Ar command 283366b18cSsobrado.Op Ar argument ... 298eeeb81eSnorby.Sh DESCRIPTION 308eeeb81eSnorbyThe 318eeeb81eSnorby.Nm 328eeeb81eSnorbyprogram controls the 338eeeb81eSnorby.Xr ripd 8 348eeeb81eSnorbydaemon. 3507646b1eSsthenCommands may be abbreviated to the minimum unambiguous prefix; for example, 3607646b1eSsthen.Cm s n 3707646b1eSsthenfor 3807646b1eSsthen.Cm show neighbor . 398eeeb81eSnorby.Pp 406bc5aa9fSjcaThe following options are available: 416bc5aa9fSjca.Bl -tag -width Ds 426bc5aa9fSjca.It Fl s Ar socket 436bc5aa9fSjcaUse 446bc5aa9fSjca.Ar socket 456bc5aa9fSjcainstead of the default 466bc5aa9fSjca.Pa /var/run/ripd.sock 476bc5aa9fSjcato communicate with 486bc5aa9fSjca.Xr ripd 8 . 496bc5aa9fSjca.El 506bc5aa9fSjca.Pp 518eeeb81eSnorbyThe following commands are available: 528eeeb81eSnorby.Bl -tag -width Ds 538eeeb81eSnorby.It Cm fib couple 548eeeb81eSnorbyInsert the learned routes into the Forward Information Base a.k.a. the kernel 558eeeb81eSnorbyrouting table. 568eeeb81eSnorby.It Cm fib decouple 578eeeb81eSnorbyRemove the learned routes from the Forward Information Base a.k.a. the kernel 588eeeb81eSnorbyrouting table. 598eeeb81eSnorbyDecoupling the FIB from an RIP router may create routing loops and could cause 608eeeb81eSnorbymajor routing issues. 61c3319070Sclaudio.It Cm log brief 62c3319070SclaudioDisable verbose debug logging. 63be74ec1aSjmc.It Cm log verbose 64be74ec1aSjmcEnable verbose debug logging. 658eeeb81eSnorby.It Cm show fib Op Ar destination | filter 668eeeb81eSnorbyShow the Forwarding Information Base. 678eeeb81eSnorby.Ar destination 688eeeb81eSnorbycan be specified to show the route matching a destination IP address. 698eeeb81eSnorby.Ar filter 708eeeb81eSnorbycan be any of the following: 718eeeb81eSnorby.Pp 728eeeb81eSnorby.Bl -tag -width "interfaceXXinterfaceXX" -compact 738eeeb81eSnorby.It Cm connected 748eeeb81eSnorbyShow only connected routes. 7535776419Smichele.It Cm interface 7635776419SmicheleShow only interfaces. 778eeeb81eSnorby.It Cm rip 788eeeb81eSnorbyShow only RIP routes. 798eeeb81eSnorby.It Cm static 808eeeb81eSnorbyShow only static routes. 818eeeb81eSnorby.El 828eeeb81eSnorby.Pp 838eeeb81eSnorby.Cm connected , 848eeeb81eSnorby.Cm rip , 858eeeb81eSnorbyand 868eeeb81eSnorby.Cm static 878eeeb81eSnorbymay be specified together. 8835776419Smichele.It Cm show interfaces 8935776419SmicheleShow details for all interfaces. 9035776419Smichele.It Cm show neighbor 918eeeb81eSnorbyShow neighbors. 9235776419Smichele.It Cm show rib 938eeeb81eSnorbyShow the Routing Information Base. 948eeeb81eSnorby.El 958eeeb81eSnorby.Sh FILES 968eeeb81eSnorby.Bl -tag -width "/var/run/ripd.sockXX" -compact 970037dff8Ssobrado.It Pa /var/run/ripd.sock 98f829369eSsobrado.Ux Ns -domain 99f829369eSsobradosocket used for communication with 1008eeeb81eSnorby.Xr ripd 8 . 1018eeeb81eSnorby.El 1028eeeb81eSnorby.Sh SEE ALSO 1038eeeb81eSnorby.Xr ripd.conf 5 , 1048eeeb81eSnorby.Xr ripd 8 1058eeeb81eSnorby.Sh HISTORY 1068eeeb81eSnorbyThe 1078eeeb81eSnorby.Nm 1088eeeb81eSnorbyprogram first appeared in 10911656dc9Sdavid.Ox 4.1 . 110