xref: /openbsd/etc/examples/ospfd.conf (revision 09467b48)
1# $OpenBSD: ospfd.conf,v 1.2 2018/08/07 07:06:20 claudio Exp $
2
3# macros
4id="192.0.2.5"
5
6# global configuration
7# router-id $id
8# fib-update no
9# stub router no
10# spf-delay 1
11# spf-holdtime 5
12
13# auth-key secret
14# auth-type simple
15# hello-interval 10
16# metric 10
17# retransmit-interval 5
18# router-dead-time 40
19# router-priority 1
20# transmit-delay 1
21
22# rtlabel "DMZ" external-tag 1
23
24# areas
25area 0.0.0.5 {
26	interface em0 {
27		auth-type simple
28		auth-key secret
29	}
30
31	interface em1 {
32		auth-type simple
33		auth-key unknown
34	}
35}
36
37area 0.0.0.7 {
38	interface em2 {
39		router-priority 5
40	}
41}
42