]>
Commit | Line | Data |
---|---|---|
1 | ! -*- bgp -*- | |
2 | ! | |
3 | ! BGPd sample configuration file | |
4 | ! | |
5 | ! $Id: bgpd.conf.sample,v 1.1 2002/12/13 20:15:29 paul Exp $ | |
6 | ! | |
7 | hostname bgpd | |
8 | password zebra | |
9 | !enable password please-set-at-here | |
10 | ! | |
11 | ! | |
12 | router bgp 7675 | |
13 | ! bgp router-id 10.0.0.1 | |
14 | ! network 10.0.0.0/8 | |
15 | ! neighbor 10.0.0.2 remote-as 7675 | |
16 | ! neighbor 10.0.0.2 ebgp-multihop | |
17 | ! | |
18 | ! address-family ipv4 unicast | |
19 | ! neighbor 10.0.0.2 route-map set-nexthop out | |
20 | ! neighbor 10.0.0.2 next-hop-self | |
21 | ! exit-address-family | |
22 | ! | |
23 | ! access-list all permit any | |
24 | ! | |
25 | !route-map set-nexthop permit 10 | |
26 | ! match ip address all | |
27 | ! set ip next-hop 10.0.0.1 | |
28 | ! | |
29 | !log file bgpd.log | |
30 | ! | |
31 | log stdout |