Installing the Cumulus Linux Quagga Package on an Ubuntu Server


If you want to match your Cumulus Linux Quagga package version with the routing software on your server, perform the following steps. 

Note: This was done on Ubuntu 14.04, Trusty. The directions should be the same for any Debian-based distribution.

  1. If it is not already installed, install the Python ipaddr library. If you do not have the ipaddr library, you can download it from the Python Package Index manually, or use apt to install it with apt-get install python-ipaddr.
  2. Download the Cumulus Networks cl-cmd utility to enable the cl-bgp, cl-ospf and cl-rctl commands. From the same directory where you downloaded Quagga, download python-clcmd. For Cumulus Linux version 2.5.5, the file is called python-clcmd_0.01-cl2.5+3_all.deb.
  3. Create the directory /usr/share/cumulus. This is required for the cl-cmd application
  4. Download the current Cumulus Linux Quagga Debian package release. From the Cumulus Linux repo root directory, navigate to your release version (for example, 2.5) and then updates. From this directory, look for the quagga.deb file. Do not download quagga-dbg or quagga-doc. For Cumulus Linux version 2.5.5, the file is called quagga_0.99.23.1-1+cl2.5+9_amd64.deb
  5. Install the Quagga Debian package with dpkg --force-all -i quagga_0.99.23.1-1+cl2.5+9_amd64.deb.
  6. Due to a dependency setting within Quagga that is only required on Cumulus Linux, remove iproute and cl-utilities from the Quagga dependencies list of /var/lib/dpkg/status
  7. Finally, start the command server with service clcmd_server start. The service will start at boot time in the future.
  8. Enable the Quagga protocols you wish to run
  9. Start the Quagga service with service quagga start

Summary Steps

sudo apt-get install python-ipaddr
sudo dpkg -i python-clcmd_0.01-cl2.5+3_all.deb
sudo mkdir /usr/share/cumulus
sudo dpkg --force-all -i quagga_0.99.23.1-1+cl2.5+9_amd64.deb
sudo sed -i 's/iproute,//g' /var/lib/dpkg/status
sudo sed -i 's/cl-utilities//g' /var/lib/dpkg/status
sudo sed -i 's/zebra=no/zebra=yes/g' /etc/quagga/daemons
sudo sed -i 's/bgpd=no/bgpd=yes/g' /etc/quagga/daemons
sudo sed -i 's/ospfd=no/ospfd=yes/g' /etc/quagga/daemons
sudo sed -i 's/ospf6d=no/ospf6d=yes/g' /etc/quagga/daemons
sudo sh -c "echo 'export VTYSH_PAGER=more' >> /etc/bash.bashrc"
sudo service clcmd_server start
sudo service quagga start


Have more questions? Submit a request


Powered by Zendesk