2 * This is an example configuration file.
9 define xyzzy = (120+10);
13 # interface "eth*", "ppp*";
21 ipv4; # Must be specified at least one channel
22 # learn; # Learn all routes from the kernel
23 # scan time 10; # Scan kernel tables every 10 seconds
35 if source = RTS_STATIC then {
36 print "It is from static";
44 if !(scope ~ [ SCOPE_HOST, SCOPE_SITE ]) then {
45 print "Failed in test";
55 rip_metric = rip_metric + 5;
58 bgp_community = -empty-;
60 bgp_community = add(bgp_community, (1,2));
62 bgp_community = add(bgp_community, (2,3));
63 bgp_community.add((4,5));
64 print "community = ", bgp_community;
65 bgp_community.delete((2,3));
66 print "community = ", bgp_community;
68 print "community = ", bgp_community;
74 route 0.0.0.0/0 via 195.113.31.113;
75 route 62.168.0.0/25 reject;
76 route 1.2.3.4/32 via 195.113.31.124;
77 route 10.0.0.0/8 reject;
78 route 10.1.1.0/24 via 62.168.0.3;
79 route 10.1.2.0/24 via 62.168.0.3;
80 route 10.1.3.0/24 via 62.168.0.4;
81 route 10.2.0.0/24 via "arc0";