pingping-lin | 26990f0 | 2015-11-30 15:48:06 -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 64516 |
| 14 | bgp router-id 10.0.6.1 |
| 15 | ! timers bgp 1 3 |
| 16 | neighbor 10.0.6.101 remote-as 64513 |
| 17 | neighbor 10.0.16.101 remote-as 64513 |
| 18 | network 6.0.0.0/24 |
| 19 | |
| 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 |