blob: 19cc140f36cd9a007171438d5a3a04cb88ec4213 [file] [log] [blame]
Srikanth Vavilapallie5388212015-03-05 13:55:53 -08001! -*- 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 10.0.0.4 remote-as 64516
17! neighbor 192.168.60.3 remote-as 64520
18! network 172.16.60.0/24
19! network 172.16.70.4/30
20 ! network 172.16.70.8/30
21 ! network 172.16.70.12/30
22 ! network 172.16.70.16/30
23 ! network 172.16.70.20/30
24 ! network 172.16.70.24/30
25 ! network 172.16.70.28/30
26 ! network 172.16.70.32/30
27! neighbor 10.0.0.2 route-map set-nexthop out
28! neighbor 10.0.0.2 ebgp-multihop
29! neighbor 10.0.0.2 next-hop-self
30!
31! access-list all permit any
32!
33!route-map set-nexthop permit 10
34! match ip address all
35! set ip next-hop 10.0.0.1
36!
37!log file /usr/local/var/log/quagga/bgpd.log
38!
39log stdout