summaryrefslogtreecommitdiff
path: root/etc/examples/ospfd.conf
blob: 4367097da8d59d9bd734aced5275cccd2cbaa270 (plain)
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
# $OpenBSD: ospfd.conf,v 1.2 2018/08/07 07:06:20 claudio Exp $

# macros
id="192.0.2.5"

# global configuration
# router-id $id
# fib-update no
# stub router no
# spf-delay 1
# spf-holdtime 5

# auth-key secret
# auth-type simple
# hello-interval 10
# metric 10
# retransmit-interval 5
# router-dead-time 40
# router-priority 1
# transmit-delay 1

# rtlabel "DMZ" external-tag 1

# areas
area 0.0.0.5 {
	interface em0 {
		auth-type simple
		auth-key secret
	}

	interface em1 {
		auth-type simple
		auth-key unknown
	}
}

area 0.0.0.7 {
	interface em2 {
		router-priority 5
	}
}