[OpenBSD]

Manual Page Search Parameters
OSPFCTL(8) System Manager's Manual OSPFCTL(8)

ospfctl
control the Open Shortest Path First daemon

ospfctl [
-s socket
] command [
argument ...
]

The ospfctl program controls the ospfd(8) daemon. Commands may be abbreviated to the minimum unambiguous prefix; for example, s s for show summary.
The following options are available:
 
 
socket
Use socket instead of the default /var/run/ospfd.sock to communicate with ospfd(8).
The following commands are available:
 
 
Insert the learned routes into the Forwarding Information Base a.k.a. the kernel routing table.
 
 
Remove the learned routes from the Forwarding Information Base a.k.a. the kernel routing table. Decoupling the FIB from an OSPF router may create routing loops and could cause major routing issues in the complete OSPF cloud. Only routers with just one link to the OSPF cloud can safely decouple the FIB.
 
 
Refetches and relearns the routes in the Forwarding Information Base a.k.a. the kernel routing table.
 
 
Disable verbose debug logging.
 
 
Enable verbose debug logging.
 
 
Reload the configuration file.
 
 
[
filter
]
Show the link state database. filter can be any one of the following:
ID
Show only LSAs from the specified area ID.
Show only ASBR LSAs.
Show only AS-External LSAs.
Show only Network LSAs.
Show only Router LSAs.
Show only self-originated LSAs.
Show only Summary LSAs.
 
 
[
destination | filter
]
Show the Forwarding Information Base. destination can be specified to show the route matching a destination IP address. filter can be any of the following:
Show only connected routes.
[
interface
]
Show only interfaces or the specified interface.
Show only OSPF routes.
Show only static routes.
connected, ospf and static may be specified together.
 
 
[
interface
]
Show details for all interfaces or the specified interface.
 
 
[
detail
]
Show neighbors. detail can be specified for additional detail.
 
 
[
detail
]
Show the Routing Information Base. detail can be specified for additional detail.
 
 
Show summary information.

/var/run/ospfd.sock
UNIX-domain socket used for communication with ospfd(8).

ospfd.conf(5), ospfd(8)

The ospfctl program first appeared in OpenBSD 3.7.
July 27, 2015 OpenBSD-current