pingping-lin | f565dd8 | 2016-04-28 18:10:36 -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 | ! |
| 14 | router bgp 64513 |
| 15 | bgp router-id 10.0.4.101 |
| 16 | timers bgp 1 3 |
| 17 | !timers bgp 3 9 |
| 18 | neighbor 10.0.4.1 remote-as 64514 |
| 19 | neighbor 10.0.4.1 ebgp-multihop |
| 20 | neighbor 10.0.4.1 timers connect 5 |
| 21 | neighbor 10.0.5.1 remote-as 64515 |
| 22 | neighbor 10.0.5.1 ebgp-multihop |
| 23 | neighbor 10.0.5.1 timers connect 5 |
| 24 | neighbor 10.0.6.1 remote-as 64516 |
| 25 | neighbor 10.0.6.1 ebgp-multihop |
| 26 | neighbor 10.0.6.1 timers connect 5 |
| 27 | |
| 28 | neighbor 1.1.1.2 remote-as 64513 |
| 29 | neighbor 1.1.1.2 port 2000 |
| 30 | neighbor 1.1.1.2 timers connect 5 |
| 31 | |
| 32 | network 201.0.0.0/24 |
| 33 | network 202.0.0.0/24 |
| 34 | !network 206.0.0.0/24 |
| 35 | ! |
| 36 | ! access-list all permit any |
| 37 | ! |
| 38 | !route-map set-nexthop permit 10 |
| 39 | ! match ip address all |
| 40 | ! set ip next-hop 10.0.0.1 |
| 41 | ! |
| 42 | !log file /usr/local/var/log/quagga/bgpd.log |
| 43 | ! |
| 44 | log stdout |