summaryrefslogtreecommitdiff
path: root/etc/bgpd.conf
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-02-07 20:03:31 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-02-07 20:03:31 +0000
commit7de30bf8181afae26b9c987176660fc0cbd96dd9 (patch)
tree5e79aec738cf72b5166624bbea47bc9592c4d244 /etc/bgpd.conf
parentd5a3cf44c89cbc4c3f94a0f6921afb44f8c003c5 (diff)
king bula sez: you shall have fluffy sample configs
Diffstat (limited to 'etc/bgpd.conf')
-rw-r--r--etc/bgpd.conf12
1 files changed, 10 insertions, 2 deletions
diff --git a/etc/bgpd.conf b/etc/bgpd.conf
index f5b85377020..7612420433a 100644
--- a/etc/bgpd.conf
+++ b/etc/bgpd.conf
@@ -1,4 +1,4 @@
-# $OpenBSD: bgpd.conf,v 1.2 2003/12/28 12:52:28 henning Exp $
+# $OpenBSD: bgpd.conf,v 1.3 2004/02/07 20:03:30 henning Exp $
# sample bgpd configuration file
# see bgpd.conf(5)
@@ -12,17 +12,21 @@ router-id 10.0.0.1
holdtime 180
holdtime min 3
listen on 127.0.0.1
-# fib-update no
+fib-update no
# log updates
+# network 10.0.1.0/24
# neighbors and peers
group "peering AS65002" {
remote-as 65002
neighbor $peer1 {
descr "AS 65001 peer 1"
+ announce self
+ tcp md5sig password mekmitasdigoat
}
neighbor $peer2 {
descr "AS 65001 peer 2"
+ announce all
}
}
@@ -32,5 +36,9 @@ neighbor 10.0.1.0 {
multihop 2
local-address 10.0.0.8
passive
+ holdtime 180
+ holdtime min 3
+ announce none
+ tcp md5sig key deadbeef
}