blob: a508c49c2cab7f9eaf76c6c67adac8e8f9ec3f63 [file] [log] [blame]
pingping-lina7a13a82015-08-31 16:20:53 -07001! -*- 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!
7hostname bgpd
8password hello
9!enable password please-set-at-here
10!
11!bgp mulitple-instance
12!
13router bgp 64516
14 bgp router-id 192.168.30.1
15! timers bgp 1 3
16 neighbor 192.168.30.101 remote-as 64513
17 neighbor 192.168.50.2 remote-as 65001
18! network 172.16.30.0/24
19! neighbor 10.0.0.2 route-map set-nexthop out
20! neighbor 10.0.0.2 ebgp-multihop
21! neighbor 10.0.0.2 next-hop-self
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 /usr/local/var/log/quagga/bgpd.log
30!
31log stdout