| ! -*- bgp -*- |
| ! |
| ! BGPd sample configuratin file |
| ! |
| ! $Id: bgpd.conf.sample,v 1.1 2002/12/13 20:15:29 paul Exp $ |
| ! |
| hostname bgpd |
| password hello |
| !enable password please-set-at-here |
| ! |
| !bgp mulitple-instance |
| ! |
| route-map AS65000 permit 1 |
| set as-path prepend 65000 |
| ! |
| router bgp 64513 |
| bgp router-id 192.168.10.101 |
| timers bgp 1 3 |
| !timers bgp 3 9 |
| neighbor 192.168.10.1 remote-as 64514 |
| neighbor 192.168.10.1 ebgp-multihop |
| neighbor 192.168.10.1 timers connect 5 |
| neighbor 192.168.20.1 remote-as 64514 |
| neighbor 192.168.20.1 ebgp-multihop |
| neighbor 192.168.20.1 timers connect 5 |
| neighbor 192.168.20.1 route-map AS65000 in |
| neighbor 192.168.30.1 remote-as 64516 |
| neighbor 192.168.30.1 ebgp-multihop |
| neighbor 192.168.30.1 timers connect 5 |
| neighbor 192.168.60.1 remote-as 64520 |
| neighbor 192.168.60.1 ebgp-multihop |
| neighbor 192.168.60.1 timers connect 5 |
| neighbor 1.1.1.2 remote-as 64513 |
| neighbor 1.1.1.2 port 2000 |
| neighbor 1.1.1.2 timers connect 5 |
| |
| |
| |
| network 172.16.10.0/24 |
| ! |
| ! access-list all permit any |
| ! |
| !route-map set-nexthop permit 10 |
| ! match ip address all |
| ! set ip next-hop 10.0.0.1 |
| ! |
| !log file /usr/local/var/log/quagga/bgpd.log |
| ! |
| log stdout |