summaryrefslogtreecommitdiffstats
path: root/bird.conf
diff options
context:
space:
mode:
Diffstat (limited to 'bird.conf')
-rw-r--r--bird.conf33
1 files changed, 16 insertions, 17 deletions
diff --git a/bird.conf b/bird.conf
index 012da10..67445b3 100644
--- a/bird.conf
+++ b/bird.conf
@@ -6,23 +6,7 @@
router id 62.168.0.1;
-define xyzzy = 120+10;
-
-protocol rip MyRIP_test {
- debug all;
- port 1520;
- period 7;
- garbagetime 60;
-
- interface "*" { mode broadcast; };
- honour neighbour;
-# passwords { password "ahoj" from 0 to 10;
-# password "nazdar" from 10;
-# }
- authentication none;
- import filter { print "importing"; accept; };
- export filter { print "exporting"; accept; };
-}
+define xyzzy = (120+10);
protocol device {
# disabled;
@@ -42,6 +26,21 @@ protocol static {
# disabled;
import filter { print "ahoj";
+ print source;
+ if source = RTS_STATIC then {
+ print "It is from static";
+ }
+ print from;
+ from = 1.2.3.4;
+ print from;
+ print scope;
+ scope = SCOPE_HOST;
+ print scope;
+
+ preference = 15;
+ print preference;
+ preference = 29;
+ print preference;
rip_metric = 1;
print rip_metric;
rip_metric = rip_metric + 5;