Owners Manual

Quagga daemons and the debian.conf le are stored in the /etc/quagga directory. All routing protocol daemons installed with
Quagga are disabled by default. You must enable the zebra daemon to install the routes in the kernel routing table.
1 Open the daemons le for editing and change the daemon status to yes.
$ vim /etc/quagga/daemons
zebra=yes
bgpd=yes
ospfd=no
ospf6d=no
ripd=no
ripngd=no
isisd=no
babeld=no
2 Create the vtysh.conf and Quagga.conf conguration les.
$ cp /usr/share/doc/quagga/examples/vtysh.conf.sample /etc/quagga/vtysh.conf touch /etc/
quagga/Quagga.conf
3 Restart the Quagga service.
$ /etc/quagga# service quagga restart
4 View the status of Quagga protocol daemons.
$ /etc/quagga# service quagga status
? quagga.service - LSB: start and stop the Quagga routing suite
Loaded: loaded (/etc/init.d/quagga)
Active: active (running) since Tue 2016-02-16 17:47:25 UTC; 4s ago
Process: 5078 ExecStop=/etc/init.d/quagga stop (code=exited, status=0/SUCCESS)
Process: 5097 ExecStart=/etc/init.d/quagga start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/quagga.service
??5111 /usr/lib/quagga/zebra --daemon -A 127.0.0.1
??5115 /usr/lib/quagga/bgpd --daemon -A 127.0.0.1
??5121 /usr/lib/quagga/watchquagga --daemon zebra bgpd
Feb 16 17:47:25 OPX quagga[5097]: Loading capability module if not yet done.
Feb 16 17:47:25 OPX quagga[5097]: Starting Quagga daemons (prio:10): zebra...d.
Feb 16 17:47:25 OPX quagga[5097]: Starting Quagga monitor daemon: watchquagga.
Feb 16 17:47:25 OPX watchquagga[5121]: watchquagga 0.99.23.1 watching [zebr...]
Feb 16 17:47:25 OPX systemd[1]: Started LSB: start and stop the Quagga rou...e.
Feb 16 17:47:25 OPX watchquagga[5121]: bgpd state -> up : connect succeeded
Feb 16 17:47:25 OPX watchquagga[5121]: zebra state -> up : connect succeeded
Hint: Some lines were ellipsized, use -l to show in full
5 Remove the ! character to the left of the service integrated-vtysh-config option in the vtysh.conf le.
$ /etc/quagga/vtysh.conf
!
! Sample
!
service integrated-vtysh-config
hostname quagga-router
username root nopassword
6 Enable paging in the /etc/environment le.
$ echo VTYSH_PAGER=more > /etc/environment
7 Source the environment le before you access the Quagga shell.
$ source /etc/environment
8 Access the Quagga shell.
$ vtysh
Hello, this is Quagga (version 0.99.23.1)
Copyright 1996-2005 Kunihiro Ishiguro, et al.
OPX#
9 Save the conguration changes.
$ write memory
Building Configuration...
Integrated configuration saved to /etc/quagga/Quagga.conf
[OK]
18
Layer 3 routing