/var/run/ospf6d.sock
UNIX-domain socket used for communication with ospf6d(8).
Control the ospf for ipv6 routing daemon
ospf6ctl [-s
socket]
command
[argument ...]
The ospf6ctl program controls the ospf6d(8) daemon.
The following options are available:
-s socket
Use socket instead of the default /var/run/ospf6d.sock to communicate with ospfd(8).
Commands may be abbreviated to the minimum unambiguous prefix; for example, s s for show summary.
The following commands are available:
fib coupleInsert the learned routes into the Forwarding Information Base (FIB), a.k.a. the kernel routing table.
fib decoupleRemove the learned routes from the FIB. 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.
fib reloadRefetches and relearns the routes in the Forwarding Information Base a.k.a. the kernel routing table.
log briefDisable verbose debug logging.
log verboseEnable verbose debug logging.
reloadReload the configuration file. This command currently has no effect.
show database [filter]Show the link state database. filter can be any one of the following:
area IDShow only LSAs from the specified area ID.
asbrShow only ASBR LSAs.
externalShow only AS-External LSAs.
intraShow only Intra-Area-Prefix LSAs.
linkShow only Link LSAs.
networkShow only Network LSAs.
routerShow only Router LSAs.
self-originatedShow only self-originated LSAs.
summaryShow only Summary LSAs.
show fib [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:
connectedShow only connected routes.
interface [interface]Show only interfaces or the specified interface.
ospfShow only OSPF routes.
staticShow only static routes.
connected, ospf and static may be specified together.
show interfaces [interface]Show details for all interfaces or the specified interface.
show neighbor [detail]Show neighbors. detail can be specified for additional detail.
show rib [detail]Show the Routing Information Base. detail can be specified for additional detail.
show summaryShow summary information.
/var/run/ospf6d.sock
UNIX-domain socket used for communication with ospf6d(8).
35 releases since OpenBSD 4.7; the text changed 8 times.
-s since OpenBSD 5.4.