pingping-lin | ea32cf8 | 2015-10-08 22:37:37 -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 | neighbor 1.1.1.4 remote-as 64513 |
| 33 | neighbor 1.1.1.4 port 2000 |
| 34 | neighbor 1.1.1.4 timers connect 5 |
| 35 | |
| 36 | neighbor 1.1.1.6 remote-as 64513 |
| 37 | neighbor 1.1.1.6 port 2000 |
| 38 | neighbor 1.1.1.6 timers connect 5 |
| 39 | |
| 40 | ! |
| 41 | ! access-list all permit any |
| 42 | ! |
| 43 | !route-map set-nexthop permit 10 |
| 44 | ! match ip address all |
| 45 | ! set ip next-hop 10.0.0.1 |
| 46 | ! |
| 47 | !log file /usr/local/var/log/quagga/bgpd.log |
| 48 | ! |
| 49 | log stdout |