neighbor 127.0.0.1 { router-id 2.2.2.2; local-address 127.0.0.2; # Our local update-source local-as 65000; # Our local AS peer-as 65000; # Peer's AS family { ipv4 unicast; ipv4 flow; ipv6 unicast; ipv6 flow; } announce { ipv4 { unicast 2.100.0.0/24 next-hop self med 500 extended-community [ target:65000:1.1.1.1 ]; unicast 2.200.0.0/24 next-hop self as-path [ 100 200 ]; } ipv6 { unicast 2621:a:10::/64 next-hop 3001:1::1 as-path [ 600 650 ]; unicast 2621:a:1337::/64 next-hop 3001:1::1 med 404; } } # Static FlowSpec test to confirm ExaBGP advertisement is working # Uncomment to add this flow at ExaBGP startup time flow { route TEST { match { source 3001:99:a::10/128; destination 3001:99:b::10/128; } then { redirect 6:302; } } } }