Annotation of src/etc/bgpd.conf, Revision 1.3
1.3 ! henning 1: # $OpenBSD: bgpd.conf,v 1.2 2003/12/28 12:52:28 henning Exp $
1.1 henning 2: # sample bgpd configuration file
3: # see bgpd.conf(5)
4:
5: #macros
6: peer1="10.0.0.2"
7: peer2="10.0.0.3"
8:
9: # global configuration
10: AS 65001
1.2 henning 11: router-id 10.0.0.1
1.1 henning 12: holdtime 180
13: holdtime min 3
14: listen on 127.0.0.1
1.3 ! henning 15: fib-update no
1.2 henning 16: # log updates
1.3 ! henning 17: # network 10.0.1.0/24
1.1 henning 18:
19: # neighbors and peers
20: group "peering AS65002" {
21: remote-as 65002
22: neighbor $peer1 {
23: descr "AS 65001 peer 1"
1.3 ! henning 24: announce self
! 25: tcp md5sig password mekmitasdigoat
1.1 henning 26: }
27: neighbor $peer2 {
28: descr "AS 65001 peer 2"
1.3 ! henning 29: announce all
1.1 henning 30: }
31: }
32:
33: neighbor 10.0.1.0 {
34: remote-as 65003
35: descr upstream
36: multihop 2
1.2 henning 37: local-address 10.0.0.8
38: passive
1.3 ! henning 39: holdtime 180
! 40: holdtime min 3
! 41: announce none
! 42: tcp md5sig key deadbeef
1.1 henning 43: }
44: