LinuxCommandLibrary

ospfd

TLDR

Start OSPF daemon

$ ospfd -d
copy
Start with config file
$ ospfd -f [/etc/frr/ospfd.conf]
copy
Start with debug
$ ospfd -d -A [127.0.0.1]
copy
Run in foreground
$ ospfd -A [127.0.0.1]
copy

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
copy

VTY COMMANDS

$ show ip ospf neighbor
show ip ospf route
show ip ospf database
copy

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.

SEE ALSO

zebra(8), vtysh(1), bgpd(8), ripd(8)

Copied to clipboard