2 * This is an example configuration file.
11 protocol rip MyRIP_test {
17 interface "*" { mode broadcast; };
19 # passwords { password "ahoj" from 0 to 10;
20 # password "nazdar" from 10;
23 import filter { print "importing"; accept; };
24 export filter { print "exporting"; accept; };
29 # interface "eth*", "ppp*";
37 # learn; # Learn all routes from the kernel
38 # scan time 10; # Scan kernel tables every 10 seconds
44 import filter { print "ahoj";
47 rip_metric = rip_metric + 5;
49 bgp_community = - empty - ;
51 bgp_community = add(bgp_community, (1,2));
53 bgp_community = add(bgp_community, (2,3));
54 bgp_community.add((4,5));
55 print "community = ", bgp_community;
56 bgp_community.delete((2,3));
57 print "community = ", bgp_community;
59 print "community = ", bgp_community;
64 route 0.0.0.0/0 via 195.113.31.113;
65 route 62.168.0.0/25 reject;
66 route 1.2.3.4/32 via 195.113.31.124;
67 # route 10.0.0.0/8 reject;
68 # route 10.1.1.0:255.255.255.0 via 62.168.0.3;
69 # route 10.1.2.0:255.255.255.0 via 62.168.0.3;
70 # route 10.1.3.0:255.255.255.0 via 62.168.0.4;
71 # route 10.2.0.0/24 via "arc0";