Next: , Up: Configure the Software   [Contents][Index]


2.1.1 The Configure script and its options

Quagga has an excellent configure script which automatically detects most host configurations. There are several additional configure options you can use to turn off IPv6 support, to disable the compilation of specific daemons, and to enable SNMP support.

--disable-ipv6

Turn off IPv6 related features and daemons. Quagga configure script automatically detects IPv6 stack. But sometimes you might want to disable IPv6 support of Quagga.

--disable-zebra

Do not build zebra daemon.

--disable-ripd

Do not build ripd.

--disable-ripngd

Do not build ripngd.

--disable-ospfd

Do not build ospfd.

--disable-ospf6d

Do not build ospf6d.

--disable-bgpd

Do not build bgpd.

--disable-bgp-announce

Make bgpd which does not make bgp announcements at all. This feature is good for using bgpd as a BGP announcement listener.

--enable-netlink

Force to enable GNU/Linux netlink interface. Quagga configure script detects netlink interface by checking a header file. When the header file does not match to the current running kernel, configure script will not turn on netlink support.

--enable-snmp

Enable SNMP support. By default, SNMP support is disabled.

--disable-opaque-lsa

Disable support for Opaque LSAs (RFC2370) in ospfd.

--disable-ospfapi

Disable support for OSPF-API, an API to interface directly with ospfd. OSPF-API is enabled if –enable-opaque-lsa is set.

--disable-ospfclient

Disable building of the example OSPF-API client.

--disable-ospf-te

Disable support for OSPF Traffic Engineering Extension (RFC3630) this requires support for Opaque LSAs.

--disable-ospf-ri

Disable support for OSPF Router Information (RFC4970 & RFC5088) this requires support for Opaque LSAs and Traffic Engineering.

--enable-isisd

Build isisd.

--enable-isis-topology

Enable IS-IS topology generator.

--enable-isis-te

Enable Traffic Engineering Extension for ISIS (RFC5305)

--enable-multipath=ARG

Enable support for Equal Cost Multipath. ARG is the maximum number of ECMP paths to allow, set to 0 to allow unlimited number of paths.

--disable-rtadv

Disable support IPV6 router advertisement in zebra.

--enable-gcc-rdynamic

Pass the -rdynamic option to the linker driver. This is in most cases neccessary for getting usable backtraces. This option defaults to on if the compiler is detected as gcc, but giving an explicit enable/disable is suggested.

--enable-backtrace

Controls backtrace support for the crash handlers. This is autodetected by default. Using the switch will enforce the requested behaviour, failing with an error if support is requested but not available. On BSD systems, this needs libexecinfo, while on glibc support for this is part of libc itself.

You may specify any combination of the above options to the configure script. By default, the executables are placed in /usr/local/sbin and the configuration files in /usr/local/etc. The /usr/local/ installation prefix and other directories may be changed using the following options to the configuration script.

--prefix=prefix

Install architecture-independent files in prefix [/usr/local].

--sysconfdir=dir

Look for configuration files in dir [prefix/etc]. Note that sample configuration files will be installed here.

--localstatedir=dir

Configure zebra to use dir for local state files, such as pid files and unix sockets.

% ./configure --disable-ipv6

This command will configure zebra and the routing daemons.


Next: , Up: Configure the Software   [Contents][Index]