2 * This is an example configuration file.
9 define xyzzy = (120+10);
13 # interface "eth*", "ppp*";
21 # learn; # Learn all routes from the kernel
22 # scan time 10; # Scan kernel tables every 10 seconds
28 import filter { print "ahoj";
30 if source = RTS_STATIC then {
31 print "It is from static";
39 if !(scope ~ [ SCOPE_HOST, SCOPE_SITE ]) then {
40 print "Failed in test";
50 rip_metric = rip_metric + 5;
52 bgp_community = - empty - ;
54 bgp_community = add(bgp_community, (1,2));
56 bgp_community = add(bgp_community, (2,3));
57 bgp_community.add((4,5));
58 print "community = ", bgp_community;
59 bgp_community.delete((2,3));
60 print "community = ", bgp_community;
62 print "community = ", bgp_community;
66 route 0.0.0.0/0 via 195.113.31.113;
67 route 62.168.0.0/25 reject;
68 route 1.2.3.4/32 via 195.113.31.124;
69 # route 10.0.0.0/8 reject;
70 # route 10.1.1.0:255.255.255.0 via 62.168.0.3;
71 # route 10.1.2.0:255.255.255.0 via 62.168.0.3;
72 # route 10.1.3.0:255.255.255.0 via 62.168.0.4;
73 # route 10.2.0.0/24 via "arc0";