📄 readme_quagga
字号:
---------------------------------------------------------------------QUAGGA PLUGIN FOR OLSRDby Immo 'FaUl' Wehrenberg <immo@chaostreff-dortmund.de>---------------------------------------------------------------------This is the Quagga Plugin for the OLSRD. It allowes olsrd to redistribute from various quagga-protocols as well as to export olsr-routes to quagga so that they can beredistributed by the quagga-routing-daemons.Note Sven-Ola: You also need a source distribution of quagga-0.98.5or quagga-0.98.6 (that is the current stable). The quagga source tree needs to be patched with quagga-0.98.6-olsr.diff, compiled and installedvia 'make install'. Because many people will otherwise have compileprobs, I've added 2 include files in lib/quagga/src/quagga. If youwant to use another version of quagga, make sure to remove thesebefore you compile the olsrd_quagga plugin.---------------------------------------------------------------------PLUGIN PARAMETERS (PlParam)---------------------------------------------------------------------PlParam "redistribute" "<protocol>" where protocol is one of the following: system, kernel, connect, static, rip, ripng, ospf, ospf6, isis, bgp, hsls May be used more then oncePlParam "ExportRoutes" "<only/both>" exportes olsr-routes to quagga or to both, quagga and kernel no routes are exported to quagga (normal behaviour) if not set.PlParam "LocalPref" "true" sets the Zebra SELECTED-flag on the routes exported to zebra which means these routes are prefered in any case.PlParam "Distance" "0-255" allowes to set the administrative distance to routes exported to Zebra. ---------------------------------------------------------------------SAMPLE CONFIG---------------------------------------------------------------------add in /etc/olsrd.conf:LoadPlugin "olsrd_quagga.so.0.2.2"{ PlParam "redistribute" "ospf" PlParam "redistribute" "bgp" PlParam "ExportRoutes" "only" PlParam "Distance" "125" PlParam "LocalPref" "false"}---------------------------------------------------------------------EOF / 8.5.2006
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -