blob: 9e526b85fe16fdb6ee5623eabf15135739203dfd [file] [log] [blame]
Charles Chan6f149a92017-03-24 19:35:41 -07001log 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!
Charles Chanc3122db2017-09-01 10:58:24 -070013neighbor 10.0.1.2 remote-as 65003
Charles Chan6f149a92017-03-24 19:35:41 -070014neighbor 10.0.1.2 ebgp-multihop
15neighbor 10.0.1.2 timers connect 5
16neighbor 10.0.1.2 advertisement-interval 5
17!
Charles Chanc3122db2017-09-01 10:58:24 -070018neighbor 2000::102 remote-as 65003
Charles Chan6f149a92017-03-24 19:35:41 -070019neighbor 2000::102 timers connect 5
20neighbor 2000::102 advertisement-interval 1
21no neighbor 2000::102 activate
22!
Charles Chanc3122db2017-09-01 10:58:24 -070023neighbor 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!
Charles Chan6f149a92017-03-24 19:35:41 -070033network 10.0.99.0/24
34!
35! IPv6
36!
37address-family ipv6
Charles Chanc3122db2017-09-01 10:58:24 -070038network 2000::7700/120
Charles Chan6f149a92017-03-24 19:35:41 -070039network 2000::9900/120
40neighbor 2000::102 activate
Charles Chanc3122db2017-09-01 10:58:24 -070041neighbor 2000::502 activate
Charles Chan6f149a92017-03-24 19:35:41 -070042exit-address-family