Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
OSPFCTL(8)		FreeBSD	System Manager's Manual		    OSPFCTL(8)

NAME
     ospfctl --	control	the Open Shortest Path First daemon

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

DESCRIPTION
     The ospfctl program controls the ospfd(8) daemon.	Commands may be	abbre-
     viated to the minimum unambiguous prefix; for example, s s	for show
     summary.

     The following options are available:

     -s	socket
	     Use socket	instead	of the default /var/run/ospfd.sock to communi-
	     cate with ospfd(8).

     The following commands are	available:

     fib couple
	     Insert the	learned	routes into the	Forwarding Information Base
	     a.k.a. the	kernel routing table.

     fib decouple
	     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 is-
	     sues in the complete OSPF cloud.  Only routers with just one link
	     to	the OSPF cloud can safely decouple the FIB.

     fib reload
	     Refetches and relearns the	routes in the Forwarding Information
	     Base a.k.a. the kernel routing table.

     log brief
	     Disable verbose debug logging.

     log verbose
	     Enable verbose debug logging.

     reload  Reload the	configuration file.

     show database [filter]
	     Show the link state database.  filter can be any one of the fol-
	     lowing:

	     area ID		Show only LSAs from the	specified area ID.
	     asbr		Show only ASBR LSAs.
	     external		Show only AS-External LSAs.
	     network		Show only Network LSAs.
	     router		Show only Router LSAs.
	     self-originated	Show only self-originated LSAs.
	     summary		Show only Summary LSAs.

     show fib [destination | filter]
	     Show the Forwarding Information Base.  destination	can be speci-
	     fied to show the route matching a destination IP address.	filter
	     can be any	of the following:

	     connected		     Show only connected routes.
	     interface [interface]   Show only interfaces or the specified
				     interface.
	     ospf		     Show only OSPF routes.
	     static		     Show 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 summary
	     Show summary information.

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

SEE ALSO
     ospfd.conf(5), ospfd(8)

HISTORY
     The ospfctl program first appeared	in OpenBSD 3.7.

FreeBSD	13.0			 July 27, 2015			  FreeBSD 13.0

NAME | SYNOPSIS | DESCRIPTION | FILES | SEE ALSO | HISTORY

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=ospfctl&sektion=8&manpath=OpenBSD+6.9>

home | help