1*dd3b9a80Ssthen.\" $OpenBSD: ospf6ctl.8,v 1.14 2023/06/21 09:47:03 sthen Exp $ 28e709cbdSnorby.\" 38e709cbdSnorby.\" Copyright (c) 2004, 2005, 2007 Esben Norby <norby@openbsd.org> 48e709cbdSnorby.\" 58e709cbdSnorby.\" Permission to use, copy, modify, and distribute this software for any 68e709cbdSnorby.\" purpose with or without fee is hereby granted, provided that the above 78e709cbdSnorby.\" copyright notice and this permission notice appear in all copies. 88e709cbdSnorby.\" 98e709cbdSnorby.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 108e709cbdSnorby.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 118e709cbdSnorby.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 128e709cbdSnorby.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 138e709cbdSnorby.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 148e709cbdSnorby.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 158e709cbdSnorby.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 168e709cbdSnorby.\" 17*dd3b9a80Ssthen.Dd $Mdocdate: June 21 2023 $ 188e709cbdSnorby.Dt OSPF6CTL 8 198e709cbdSnorby.Os 208e709cbdSnorby.Sh NAME 218e709cbdSnorby.Nm ospf6ctl 22328c3f4bSjmc.Nd control the OSPF for IPv6 routing daemon 238e709cbdSnorby.Sh SYNOPSIS 248e709cbdSnorby.Nm 25ab64e9cdSjmc.Op Fl s Ar socket 268e709cbdSnorby.Ar command 275ff7227cSsobrado.Op Ar argument ... 288e709cbdSnorby.Sh DESCRIPTION 298e709cbdSnorbyThe 308e709cbdSnorby.Nm 318e709cbdSnorbyprogram controls the 328e709cbdSnorby.Xr ospf6d 8 338e709cbdSnorbydaemon. 34c2ca8945Ssthen.Pp 35ab64e9cdSjmcThe following options are available: 36c2ca8945Ssthen.Bl -tag -width Ds 37c2ca8945Ssthen.It Fl s Ar socket 38c2ca8945SsthenUse 39c2ca8945Ssthen.Ar socket 40c2ca8945Sstheninstead of the default 41ab64e9cdSjmc.Pa /var/run/ospf6d.sock 42c2ca8945Ssthento communicate with 43c2ca8945Ssthen.Xr ospfd 8 . 44c2ca8945Ssthen.El 45ab64e9cdSjmc.Pp 4607646b1eSsthenCommands may be abbreviated to the minimum unambiguous prefix; for example, 4707646b1eSsthen.Cm s s 4807646b1eSsthenfor 4907646b1eSsthen.Cm show summary . 508e709cbdSnorby.Pp 518e709cbdSnorbyThe following commands are available: 528e709cbdSnorby.Bl -tag -width Ds 538e709cbdSnorby.It Cm fib couple 545ff7227cSsobradoInsert the learned routes into the Forwarding Information Base (FIB), 558e709cbdSnorbya.k.a. the kernel routing table. 568e709cbdSnorby.It Cm fib decouple 575ff7227cSsobradoRemove the learned routes from the FIB. 588e709cbdSnorbyDecoupling the FIB from an OSPF router may create routing loops and could cause 598e709cbdSnorbymajor routing issues in the complete OSPF cloud. 608e709cbdSnorbyOnly routers with just one link to the OSPF cloud can safely decouple the FIB. 61*dd3b9a80Ssthen.It Cm fib reload 62*dd3b9a80SsthenRefetches and relearns the routes in the Forwarding Information Base 63*dd3b9a80Ssthena.k.a. the kernel routing table. 64c3319070Sclaudio.It Cm log brief 65c3319070SclaudioDisable verbose debug logging. 66be74ec1aSjmc.It Cm log verbose 67be74ec1aSjmcEnable verbose debug logging. 688e709cbdSnorby.It Cm reload 698e709cbdSnorbyReload the configuration file. 70eb814241SjcaThis command currently has no effect. 718e709cbdSnorby.It Cm show database Op Ar filter 728e709cbdSnorbyShow the link state database. 738e709cbdSnorby.Ar filter 748e709cbdSnorbycan be any one of the following: 758e709cbdSnorby.Pp 768e709cbdSnorby.Bl -tag -width "self-originatedXX" -compact 778e709cbdSnorby.It Cm area Ar ID 788e709cbdSnorbyShow only LSAs from the specified area 798e709cbdSnorby.Ar ID . 808e709cbdSnorby.It Cm asbr 818e709cbdSnorbyShow only ASBR LSAs. 828e709cbdSnorby.It Cm external 838e709cbdSnorbyShow only AS-External LSAs. 84e4998680Sremi.It Cm intra 85e4998680SremiShow only Intra-Area-Prefix LSAs. 86e4998680Sremi.It Cm link 87e4998680SremiShow only Link LSAs. 888e709cbdSnorby.It Cm network 898e709cbdSnorbyShow only Network LSAs. 908e709cbdSnorby.It Cm router 918e709cbdSnorbyShow only Router LSAs. 928e709cbdSnorby.It Cm self-originated 938e709cbdSnorbyShow only self-originated LSAs. 948e709cbdSnorby.It Cm summary 958e709cbdSnorbyShow only Summary LSAs. 968e709cbdSnorby.El 978e709cbdSnorby.It Cm show fib Op Ar destination | filter 988e709cbdSnorbyShow the Forwarding Information Base. 998e709cbdSnorby.Ar destination 1008e709cbdSnorbycan be specified to show the route matching a destination IP address. 1018e709cbdSnorby.Ar filter 1028e709cbdSnorbycan be any of the following: 1038e709cbdSnorby.Pp 1048e709cbdSnorby.Bl -tag -width "interfaceXXinterfaceXX" -compact 1058e709cbdSnorby.It Cm connected 1068e709cbdSnorbyShow only connected routes. 1078e709cbdSnorby.It Cm interface Op Ar interface 1088e709cbdSnorbyShow only interfaces or the specified 1098e709cbdSnorby.Ar interface . 1108e709cbdSnorby.It Cm ospf 1118e709cbdSnorbyShow only OSPF routes. 1128e709cbdSnorby.It Cm static 1138e709cbdSnorbyShow only static routes. 1148e709cbdSnorby.El 1158e709cbdSnorby.Pp 1168e709cbdSnorby.Cm connected , 1178e709cbdSnorby.Cm ospf 1188e709cbdSnorbyand 1198e709cbdSnorby.Cm static 1208e709cbdSnorbymay be specified together. 1218e709cbdSnorby.It Cm show interfaces Op Ar interface 1228e709cbdSnorbyShow details for all interfaces or the specified 1238e709cbdSnorby.Ar interface . 1248e709cbdSnorby.It Cm show neighbor Op Cm detail 1258e709cbdSnorbyShow neighbors. 1268e709cbdSnorby.Cm detail 1278e709cbdSnorbycan be specified for additional detail. 1288e709cbdSnorby.It Cm show rib Op Cm detail 1298e709cbdSnorbyShow the Routing Information Base. 1308e709cbdSnorby.Cm detail 1318e709cbdSnorbycan be specified for additional detail. 1328e709cbdSnorby.It Cm show summary 1338e709cbdSnorbyShow summary information. 1348e709cbdSnorby.El 1358e709cbdSnorby.Sh FILES 1368e709cbdSnorby.Bl -tag -width "/var/run/ospf6d.sockXX" -compact 1370037dff8Ssobrado.It Pa /var/run/ospf6d.sock 138f829369eSsobrado.Ux Ns -domain 139f829369eSsobradosocket used for communication with 1408e709cbdSnorby.Xr ospf6d 8 . 1418e709cbdSnorby.El 1428e709cbdSnorby.Sh SEE ALSO 1438e709cbdSnorby.Xr ospf6d.conf 5 , 1448e709cbdSnorby.Xr ospf6d 8 1458e709cbdSnorby.Sh HISTORY 1468e709cbdSnorbyThe 1478e709cbdSnorby.Nm 1488e709cbdSnorbyprogram first appeared in 1498e709cbdSnorby.Ox 4.2 . 150