blob: 49553e29e909daf2a8eeb346ec1e55880e2a4529 [file] [log] [blame]
You Wang53dba1e2018-02-02 17:45:44 -08001log file /var/log/quagga/bgpdr2.log
2hostname r2
3password quagga
4!
5! Basic router config
6!
7router bgp 65002
8bgp router-id 10.0.6.1
9timers bgp 3 9
10!
11! IPv4
12!
13neighbor 10.0.6.2 remote-as 65003
14neighbor 10.0.6.2 ebgp-multihop
15neighbor 10.0.6.2 timers connect 5
16neighbor 10.0.6.2 advertisement-interval 5
17!
18neighbor 2000::602 remote-as 65003
19neighbor 2000::602 timers connect 5
20neighbor 2000::602 advertisement-interval 1
21no neighbor 2000::602 activate
22!
23neighbor 10.0.7.2 remote-as 65003
24neighbor 10.0.7.2 ebgp-multihop
25neighbor 10.0.7.2 timers connect 5
26neighbor 10.0.7.2 advertisement-interval 5
27!
28neighbor 2000::702 remote-as 65003
29neighbor 2000::702 timers connect 5
30neighbor 2000::702 advertisement-interval 1
31no neighbor 2000::702 activate
32!
33network 10.0.99.0/24
34!
35! IPv6
36!
37address-family ipv6
38network 2000::8800/120
39network 2000::9900/120
40neighbor 2000::602 activate
41neighbor 2000::702 activate
42exit-address-family