File: second.template

package info (click to toggle)
exabgp 4.2.25-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,612 kB
  • sloc: python: 37,482; sh: 581; perl: 31; makefile: 23
file content (49 lines) | stat: -rw-r--r-- 1,086 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#route 77.93.35.15/32 next-hop 10.0.0.2;

process parsed-route-backend {
	encoder json;
 	run ./log-syslog.py;
 }

template {
	neighbor test {
		local-as 65534;
		peer-as 65533;
		hold-time 9;

		family {
			ipv4 unicast;
		}

		capability{
			aigp enable;
		}

	 	api {
			processes [ parsed-route-backend ];
			receive {
				parsed;
				update;
			}
	 	}

		static {
			route 11.0.0.0/8 next-hop 1.1.1.1 aigp 100 as-path [ 1 2 3 4 ];
			route 22.0.0.0/8 next-hop 1.1.1.1 aigp 100 as-path [ 1 2 3 4 ];
			route 33.0.0.0/8 next-hop 1.1.1.1 aigp 100 as-path [ 1 2 3 4 ];
			route 44.0.0.0/8 next-hop 1.1.1.1 aigp 100 as-path [ 1 2 3 4 ];
			route 55.0.0.0/8 next-hop 1.1.1.1 aigp 100 as-path [ 1 2 3 4 ];
			route 66.0.0.0/8 next-hop 1.1.1.1 aigp 150 as-path [ 1 2 3 4 ];
			route 77.0.0.0/8 next-hop 1.1.1.2 aigp 150 as-path [ 1 2 3 4 ];
			route 88.0.0.0/8 next-hop 1.1.1.2 aigp 150 as-path [ 1 2 3 4 ];
			route 99.0.0.0/8 next-hop 1.1.1.2 aigp 150 as-path [ 1 2 3 4 ];
		}
	}
}

neighbor 127.0.0.1 {
	description "router 2";
	inherit test;
	router-id 128.0.0.0;
	local-address IP;
}