ospfd
TLDR
Start OSPF daemon
$ ospfd -d
Start with config file$ ospfd -f [/etc/frr/ospfd.conf]
Start with debug$ ospfd -d -A [127.0.0.1]
Run in foreground$ ospfd -A [127.0.0.1]
SYNOPSIS
ospfd [options]
DESCRIPTION
ospfd is the OSPF (Open Shortest Path First) routing daemon from FRRouting (or Quagga). It implements OSPF version 2 for IPv4 routing, enabling dynamic routing in networks.
OSPF is a link-state routing protocol commonly used in enterprise networks.
PARAMETERS
-d
Run as daemon.-f file
Config file.-A address
VTY bind address.-P port
VTY port.-u user
Run as user.-g group
Run as group.
CONFIGURATION
$ ! /etc/frr/ospfd.conf
router ospf
ospf router-id 1.1.1.1
network 192.168.1.0/24 area 0
network 10.0.0.0/8 area 1
router ospf
ospf router-id 1.1.1.1
network 192.168.1.0/24 area 0
network 10.0.0.0/8 area 1
VTY COMMANDS
$ show ip ospf neighbor
show ip ospf route
show ip ospf database
show ip ospf route
show ip ospf database
CAVEATS
Part of FRRouting suite. Requires zebra daemon. Configuration via vtysh recommended.
HISTORY
ospfd was part of GNU Zebra, then Quagga, and is now maintained as part of FRRouting, the leading open-source routing suite.


