]> git.proxmox.com Git - mirror_frr.git/blobdiff - babeld/babeld.conf.sample
*: Convert zapi->interface_delete to ifp callback
[mirror_frr.git] / babeld / babeld.conf.sample
index bb2c1dbb08cf2f4d51a09fe4f53d9f51d5344fcd..a77453a73411a4696dcd041735d4c0b0ad5c8bc9 100644 (file)
@@ -1,31 +1,30 @@
-# placeholder
-# This is an example. See documentation for more results.
-# 
-# let 'eth0' be an interface.
-#
-# Remark: '#' and '!' are comments.
-# NB, just for this example:
-#      each line at the same indentation is only dependant of the less level
-#      line. BUT the quagga parser is insensitive.
+debug babel common
+!debug babel kernel
+!debug babel filter
+!debug babel timeout
+!debug babel interface
+!debug babel route
+!debug babel all
 
+router babel
+! network wlan0
+! network eth0
+! redistribute ipv4 kernel
+! no redistribute ipv6 static
 
-# setup the routing for Babel.
-router babel                #activate the Babel routing                 babeld.c
-  network eth0              #eth0 is match                           interface.c
-  redistribute kernel       #(kernel|connected|static|ospf6|bgp)   babel_zebra.c
-  no redistribute static    #...
+! The defaults are fine for a wireless interface
 
+!interface wlan0
 
-# setup each interface, one by one...
-Interface eth0              #Set eth0 options                        interface.c
-! wired                     #with wire                               interface.c
-  wireless                  #without wire (défaut)                   interface.c
-! babel split-horizon       #with Split-horizon                      interface.c
-  no babel split-horizon    #without (defaut)                        interface.c
-  hello interval 4096       #default = 4096 (in miliseconds)         interface.c
+! A few optimisation tweaks are optional but recommended on a wired interface
+! Disable link quality estimation, enable split horizon processing, and
+! increase the hello and update intervals.
 
+!interface eth0
+! babel wired
+! babel split-horizon
+! babel hello-interval 12000
+! babel update-interval 36000
 
-# setup the log destination.
-# log stdout
-# log stdout debugging
-log file /var/log/quagga/babeld.log
\ No newline at end of file
+! log file /var/log/quagga/babeld.log
+log stdout