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