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 | ! |
Charles Chan | c3122db | 2017-09-01 10:58:24 -0700 | [diff] [blame^] | 13 | neighbor 10.0.1.2 remote-as 65003 |
Charles Chan | 6f149a9 | 2017-03-24 19:35:41 -0700 | [diff] [blame] | 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 | ! |
Charles Chan | c3122db | 2017-09-01 10:58:24 -0700 | [diff] [blame^] | 18 | neighbor 2000::102 remote-as 65003 |
Charles Chan | 6f149a9 | 2017-03-24 19:35:41 -0700 | [diff] [blame] | 19 | neighbor 2000::102 timers connect 5 |
| 20 | neighbor 2000::102 advertisement-interval 1 |
| 21 | no neighbor 2000::102 activate |
| 22 | ! |
Charles Chan | c3122db | 2017-09-01 10:58:24 -0700 | [diff] [blame^] | 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 | ! |
Charles Chan | 6f149a9 | 2017-03-24 19:35:41 -0700 | [diff] [blame] | 33 | network 10.0.99.0/24 |
| 34 | ! |
| 35 | ! IPv6 |
| 36 | ! |
| 37 | address-family ipv6 |
Charles Chan | c3122db | 2017-09-01 10:58:24 -0700 | [diff] [blame^] | 38 | network 2000::7700/120 |
Charles Chan | 6f149a9 | 2017-03-24 19:35:41 -0700 | [diff] [blame] | 39 | network 2000::9900/120 |
| 40 | neighbor 2000::102 activate |
Charles Chan | c3122db | 2017-09-01 10:58:24 -0700 | [diff] [blame^] | 41 | neighbor 2000::502 activate |
Charles Chan | 6f149a9 | 2017-03-24 19:35:41 -0700 | [diff] [blame] | 42 | exit-address-family |