alison | 62006dd | 2016-12-15 16:21:28 -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 | ! |
| 14 | router bgp 64513 |
| 15 | bgp router-id 10.0.9.101 |
| 16 | timers bgp 1 2 |
| 17 | neighbor 10.0.9.1 remote-as 64519 |
| 18 | neighbor 10.0.9.1 ebgp-multihop |
| 19 | neighbor 10.0.9.1 timers connect 5 |
| 20 | neighbor 10.0.20.1 remote-as 64520 |
| 21 | neighbor 10.0.20.1 ebgp-multihop |
| 22 | neighbor 10.0.20.1 timers connect 5 |
| 23 | |
| 24 | neighbor 1.1.1.2 remote-as 64513 |
| 25 | neighbor 1.1.1.2 port 2000 |
| 26 | neighbor 1.1.1.2 timers connect 5 |
| 27 | |
| 28 | neighbor 1.1.1.4 remote-as 64513 |
| 29 | neighbor 1.1.1.4 port 2000 |
| 30 | neighbor 1.1.1.4 timers connect 5 |
| 31 | |
| 32 | neighbor 1.1.1.6 remote-as 64513 |
| 33 | neighbor 1.1.1.6 port 2000 |
| 34 | neighbor 1.1.1.6 timers connect 5 |
| 35 | |
| 36 | ! |
| 37 | ! access-list all permit any |
| 38 | ! |
| 39 | !route-map set-nexthop permit 10 |
| 40 | ! match ip address all |
| 41 | ! set ip next-hop 10.0.0.1 |
| 42 | ! |
| 43 | !log file /usr/local/var/log/quagga/bgpd.log |
| 44 | ! |
| 45 | log stdout |