xref: /openbsd/etc/examples/ldpd.conf (revision fcd3a45b)
1#	$OpenBSD: ldpd.conf,v 1.3 2018/08/06 17:26:31 mestre Exp $
2
3# macros
4peer1="192.168.1.10"
5
6# global configuration
7# router-id 10.0.0.1
8# fib-update no
9# transport-preference ipv4
10
11address-family ipv4 {
12	# explicit-null yes
13	# keepalive 120
14	# targeted-hello-accept yes
15	# transport-address 10.0.0.1
16
17	interface em0
18	interface vlan5 {
19		link-hello-holdtime 9
20		link-hello-interval 3
21	}
22	targeted-neighbor 172.16.1.10
23}
24
25neighbor $peer1 {
26	password "secret"
27}
28
29l2vpn CUST_A type vpls {
30	bridge bridge0
31	interface em1
32	pseudowire mpw0 {
33		# control-word no
34		# status-tlv no
35		neighbor-id 10.0.1.5
36		pw-id 100
37	}
38	pseudowire mpw1 {
39		neighbor-id 10.0.2.8
40		pw-id 100
41	}
42}
43