blob: 9e526b85fe16fdb6ee5623eabf15135739203dfd [file] [log] [blame]
Andreas Pantelopoulos971c91d2018-02-12 11:28:10 -08001log file /var/log/quagga/bgpdr1.log
2hostname r1
3password quagga
4!
5! Basic router config
6!
7router bgp 65001
8bgp router-id 10.0.1.1
9timers bgp 3 9
10!
11! IPv4
12!
13neighbor 10.0.1.2 remote-as 65003
14neighbor 10.0.1.2 ebgp-multihop
15neighbor 10.0.1.2 timers connect 5
16neighbor 10.0.1.2 advertisement-interval 5
17!
18neighbor 2000::102 remote-as 65003
19neighbor 2000::102 timers connect 5
20neighbor 2000::102 advertisement-interval 1
21no neighbor 2000::102 activate
22!
23neighbor 10.0.5.2 remote-as 65003
24neighbor 10.0.5.2 ebgp-multihop
25neighbor 10.0.5.2 timers connect 5
26neighbor 10.0.5.2 advertisement-interval 5
27!
28neighbor 2000::502 remote-as 65003
29neighbor 2000::502 timers connect 5
30neighbor 2000::502 advertisement-interval 1
31no neighbor 2000::502 activate
32!
33network 10.0.99.0/24
34!
35! IPv6
36!
37address-family ipv6
38network 2000::7700/120
39network 2000::9900/120
40neighbor 2000::102 activate
41neighbor 2000::502 activate
42exit-address-family