blob: d334c2a919ef23da6e5fcca73a7e9c54130ce4bd [file] [log] [blame]
sanghoshina0934b72015-02-26 11:25:07 -08001! -*- 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!
13route-map AS65000 permit 1
14 set as-path prepend 65000
15!
16router bgp 64513
17 bgp router-id 192.168.10.101
18 timers bgp 1 3
19 !timers bgp 3 9
20 neighbor 192.168.10.1 remote-as 64514
21 neighbor 192.168.10.1 ebgp-multihop
22 neighbor 192.168.10.1 timers connect 5
23 neighbor 192.168.20.1 remote-as 64514
24 neighbor 192.168.20.1 ebgp-multihop
25 neighbor 192.168.20.1 timers connect 5
26 neighbor 192.168.20.1 route-map AS65000 in
27 neighbor 192.168.30.1 remote-as 64516
28 neighbor 192.168.30.1 ebgp-multihop
29 neighbor 192.168.30.1 timers connect 5
30 neighbor 192.168.60.2 remote-as 64521
31 neighbor 192.168.60.2 ebgp-multihop
32 neighbor 192.168.60.2 timers connect 5
33 neighbor 1.1.1.2 remote-as 64513
34 neighbor 1.1.1.2 port 2000
35 neighbor 1.1.1.2 timers connect 5
36
37
38
39 network 172.16.10.0/24
40!
41! access-list all permit any
42!
43!route-map set-nexthop permit 10
44! match ip address all
45! set ip next-hop 10.0.0.1
46!
47!log file /usr/local/var/log/quagga/bgpd.log
48!
49log stdout