pingping-lin | ffca7e2 | 2015-11-13 15:43:08 -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.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 | ! |
| 33 | ! access-list all permit any |
| 34 | ! |
| 35 | !route-map set-nexthop permit 10 |
| 36 | ! match ip address all |
| 37 | ! set ip next-hop 10.0.0.1 |
| 38 | ! |
| 39 | !log file /usr/local/var/log/quagga/bgpd.log |
| 40 | ! |
| 41 | log stdout |