paul | 718e374 | 2002-12-13 20:15:29 +0000 | [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 zebra |
| 9 | !enable password please-set-at-here |
| 10 | ! |
| 11 | !bgp mulitple-instance |
| 12 | ! |
| 13 | router bgp 7675 |
| 14 | ! bgp router-id 10.0.0.1 |
| 15 | ! network 10.0.0.0/8 |
| 16 | ! neighbor 10.0.0.2 remote-as 7675 |
| 17 | ! neighbor 10.0.0.2 route-map set-nexthop out |
| 18 | ! neighbor 10.0.0.2 ebgp-multihop |
| 19 | ! neighbor 10.0.0.2 next-hop-self |
| 20 | ! |
| 21 | ! access-list all permit any |
| 22 | ! |
| 23 | !route-map set-nexthop permit 10 |
| 24 | ! match ip address all |
| 25 | ! set ip next-hop 10.0.0.1 |
| 26 | ! |
| 27 | !log file bgpd.log |
| 28 | ! |
| 29 | log stdout |