Charles Chan | 6f149a9 | 2017-03-24 19:35:41 -0700 | [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 65002 |
| 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 65002 |
| 19 | neighbor 2000::102 timers connect 5 |
| 20 | neighbor 2000::102 advertisement-interval 1 |
| 21 | no neighbor 2000::102 activate |
| 22 | ! |
| 23 | network 10.0.99.0/24 |
| 24 | ! |
| 25 | ! IPv6 |
| 26 | ! |
| 27 | address-family ipv6 |
| 28 | network 2000::9900/120 |
| 29 | neighbor 2000::102 activate |
| 30 | exit-address-family |