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 | router bgp 64515 |
| 14 | bgp router-id 10.0.5.1 |
| 15 | ! timers bgp 1 3 |
| 16 | neighbor 10.0.5.101 remote-as 64513 |
| 17 | network 5.0.0.0/24 |
| 18 | |
| 19 | ! |
| 20 | ! access-list all permit any |
| 21 | ! |
| 22 | !route-map set-nexthop permit 10 |
| 23 | ! match ip address all |
| 24 | ! set ip next-hop 10.0.0.1 |
| 25 | ! |
| 26 | !log file /usr/local/var/log/quagga/bgpd.log |
| 27 | ! |
| 28 | log stdout |