blob: 60d6a9e72e51da981c9238291362ac21cf055327 [file] [log] [blame]
pingping-linebb6fe42015-08-31 17:59:33 -07001! -*- bgp -*-
2!
3! BGPd sample configuratin file
4!
5! $Id: bgpd.conf.sample,v 1.1 2002/12/13 20:15:29 paul Exp $
6!
7hostname bgpd
8password hello
9!enable password please-set-at-here
10!
11!bgp mulitple-instance
12!
13router bgp 64521
14 bgp router-id 192.168.60.2
15 neighbor 192.168.60.1 remote-as 64520
16 neighbor 192.168.60.3 remote-as 64520
17! network 172.16.60.0/24
18! network 172.16.70.4/30
19 ! network 172.16.70.8/30
20 ! network 172.16.70.12/30
21 ! network 172.16.70.16/30
22 ! network 172.16.70.20/30
23 ! network 172.16.70.24/30
24 ! network 172.16.70.28/30
25 ! network 172.16.70.32/30
26! neighbor 10.0.0.2 route-map set-nexthop out
27! neighbor 10.0.0.2 ebgp-multihop
28! neighbor 10.0.0.2 next-hop-self
29!
30! access-list all permit any
31!
32!route-map set-nexthop permit 10
33! match ip address all
34! set ip next-hop 10.0.0.1
35!
36!log file /usr/local/var/log/quagga/bgpd.log
37!
38log stdout