hostname quagga password quagga enable password quagga log file /var/log/quagga/bgpd.log service advanced-vty ! ! ! !debug bgp events !debug bgp keepalives !debug bgp updates !debug bgp fsm !debug bgp filters ! ! ! router bgp 65105 ! timers bgp 10 30 bgp router-id 10.63.0.2 ! ! ! We are going to advertise this network only to our CL-BGP neighbors: ! network 10.10.5.0/24 ! ! ! CL-BGP neighbor: ! neighbor 10.63.0.1 remote-as 65100 neighbor 10.63.0.1 advertisement-interval 1 neighbor 10.63.0.1 next-hop-self neighbor 10.63.0.1 soft-reconfiguration inbound ! ! ! CO-BGP neighbor: ! neighbor 10.10.0.12 remote-as 65100 neighbor 10.10.0.12 ebgp-multihop 2 neighbor 10.10.0.12 advertisement-interval 1 neighbor 10.10.0.12 next-hop-self neighbor 10.10.0.12 update-source 10.10.5.12 ! ! ! Do not send the IPv4 nets to CO-BGP neighbor: ! neighbor 10.10.0.12 distribute-list 1 out ! ! ! address-family ipv6 ! ! ! These numbers (941358XXXXXXX) are directly attached to our GK: ! network 2001:db8:941:358::/64 ! ! ! These number (942812XXXXXXX) are behind another GK (e.g. via ISDN). ! In other words, this is a static route: ! network 2001:db8:942:812::/64 ! ! ! Activate the CO-BGP neighbor: ! neighbor 10.10.0.12 activate ! ! ! Enable 'show ipv6 bgp neighbors 10.10.0.12 advertised-routes': ! neighbor 10.10.0.12 soft-reconfiguration inbound ! ! ! Set the next hop: ! neighbor 10.10.0.12 route-map MAP out ! ! exit-address-family ! route-map MAP permit 10 set ipv6 next-hop global 2001:db8::10:10:5:12 ! ! Do not send IPv4 nets to the CO-BGP neighbor: access-list 1 deny 0.0.0.0 ! line vty !