Minimal quagga bgpd configuration to run and remote configure it

There are the three steps to configure your Quagga bgpd daemon to be able to run and configure remotely. The idea of this article is to show you how you can run the quagga bgpd with the minimal configuration and probably you might give the credential to a network administrator.
Summary – 3 files to change:

/etc/quagga/daemons – enable BGPD daemon

/etc/quagga/debian.conf – which IP to listen to

/etc/quagga/bgpd.conf – BGP daemon configuration

Here are the steps:

STEP 1) Enable bgpd daemon.

By default all daemons are turn off. Edit the “/etc/quagga/daemons” as shown here the bgpd must have “yes”. By default all are set to “no”!

STEP 3) Set password for the management login

The file “/etc/quagga/bgpd.conf” contains only one line setting a password for the login. The configuration file “/etc/quagga/bgpd.conf” should be writable for the bgpd daemon (to be able to write the configuration from the cli tool vtysh). The best option is to be the owned by the quagga’s user and group in the system (in our case the user and group names are “quagga” like the service name and the name of the routing suite). That’s why we change the owner to the “quagga:quagga” in the first line. You might want to set “777” file permissions, but this is a serious security thread because everyone could access the file.

chown quagga:quagga /etc/quagga/bgpd.conf

Set the content of the file “/etc/quagga/bgpd.conf” with only the password:

We use cookies to ensure that we give you the best experience on our website. Unfortunately, the site is unable to function properly without using session, functional and third-party cookies. If you continue to use this site we will assume that you are happy with it or just close the page if you do not accept any cookies when viewing our site!Ok