Paul Jakma | 5734509 | 2011-12-25 17:52:09 +0100 | [diff] [blame] | 1 | # placeholder |
| 2 | # This is an example. See documentation for more results. |
| 3 | # |
| 4 | # let 'eth0' be an interface. |
| 5 | # |
| 6 | # Remark: '#' and '!' are comments. |
| 7 | # NB, just for this example: |
| 8 | # each line at the same indentation is only dependant of the less level |
| 9 | # line. BUT the quagga parser is insensitive. |
| 10 | |
| 11 | |
| 12 | # setup the routing for Babel. |
| 13 | router babel #activate the Babel routing babeld.c |
| 14 | network eth0 #eth0 is match interface.c |
| 15 | redistribute kernel #(kernel|connected|static|ospf6|bgp) babel_zebra.c |
| 16 | no redistribute static #... |
| 17 | |
| 18 | |
| 19 | # setup each interface, one by one... |
| 20 | Interface eth0 #Set eth0 options interface.c |
| 21 | ! wired #with wire interface.c |
| 22 | wireless #without wire (défaut) interface.c |
| 23 | ! babel split-horizon #with Split-horizon interface.c |
| 24 | no babel split-horizon #without (defaut) interface.c |
| 25 | hello interval 4096 #default = 4096 (in miliseconds) interface.c |
| 26 | |
| 27 | |
| 28 | # setup the log destination. |
| 29 | # log stdout |
| 30 | # log stdout debugging |
| 31 | log file /var/log/quagga/babeld.log |