summaryrefslogtreecommitdiff
path: root/bird.conf
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-05-30 11:15:19 +0000
committerPavel Machek <pavel@ucw.cz>2000-05-30 11:15:19 +0000
commitf3b33928ce43794d499dc0e1fbbeb623572042d1 (patch)
tree789a2814a0ad501553a8cfe905629eac2e40faf3 /bird.conf
parent24e1e2005b0728bfc404f248efb7d17b34cb0910 (diff)
Tried to change garbagetime -> garbage time to be more consistent.
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 012da103..67445b34 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;