Srikanth Vavilapalli | 0abf3f6 | 2015-02-24 21:27:43 -0800 | [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 64520 |
| 14 | bgp router-id 192.168.60.1 |
| 15 | neighbor 192.168.60.101 remote-as 64513 |
| 16 | neighbor 192.168.60.101 route-server-client |
| 17 | neighbor 192.168.60.2 remote-as 64521 |
| 18 | neighbor 192.168.60.2 route-server-client |
| 19 | ! network 172.16.60.0/24 |
| 20 | ! neighbor 10.0.0.2 route-map set-nexthop out |
| 21 | ! neighbor 10.0.0.2 ebgp-multihop |
| 22 | ! neighbor 10.0.0.2 next-hop-self |
| 23 | ! |
| 24 | ! access-list all permit any |
| 25 | ! |
| 26 | !route-map set-nexthop permit 10 |
| 27 | ! match ip address all |
| 28 | ! set ip next-hop 10.0.0.1 |
| 29 | ! |
| 30 | !log file /usr/local/var/log/quagga/bgpd.log |
| 31 | ! |
| 32 | log stdout |