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