Srikanth Vavilapalli | da0b4e5 | 2015-03-09 16:09:15 -0700 | [diff] [blame] | 1 | ! -*- 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 | ! |
| 7 | hostname bgpd |
| 8 | password hello |
| 9 | !enable password please-set-at-here |
| 10 | ! |
| 11 | !bgp mulitple-instance |
| 12 | ! |
| 13 | router 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 | ! |
| 39 | log stdout |