Quagga OSPFd Debian / CentOS

(Last Updated On: July 10, 2021)

Quagga (ospfd)

Debian Linux

sudo apt install quagga quagga-doc

sudo cp /usr/share/doc/quagga-core/examples/vtysh.conf.sample /etc/quagga/vtysh.conf
sudo cp /usr/share/doc/quagga-core/examples/zebra.conf.sample /etc/quagga/zebra.conf
sudo cp /usr/share/doc/quagga-core/examples/ospfd.conf.sample /etc/quagga/ospfd.conf

sudo chown quagga:quagga /etc/quagga/*.conf
sudo chown quagga:quaggavty /etc/quagga/vtysh.conf
sudo chmod 640 /etc/quagga/*.conf

sudo systemctl start ospfd zebra

CentOS Linux

yum install quagga
cp /usr/share/doc/quagga-*/vtysh.conf.sample /etc/quagga/vtysh.conf
cp /usr/share/doc/quagga-*/zebra.conf.sample /etc/quagga/zebra.conf
cp /usr/share/doc/quagga-*/ospfd.conf.sample /etc/quagga/ospfd.conf

sudo chown quagga:quagga /etc/quagga/*.conf
sudo chown quagga:quaggavt /etc/quagga/vtysh.conf
sudo chmod 640 /etc/quagga/*.conf

systemctl start ospfd zebra