grc/examples/bird1/client6.conf
2019-01-29 11:05:47 +00:00

35 lines
833 B
Plaintext

##########################################################################
#
# Bird1 Route Collector Client Example (IPv6)
#
# Based on the bird1 examples in the DN42 wiki
# https://wiki.dn42.us/howto/Bird
#
##########################################################################
protocol bgp ROUTE_COLLECTOR6
{
local as ***YOUR_ASN***;
neighbor fd42:4242:2601:ac12::1 as 4242422602;
# enable multihop as the collector is not locally connected
multihop;
# export all available paths to the collector
add paths tx;
# import/export filters
import none;
export filter {
# export all valid routes
if ( is_valid_network() && source ~ [ RTS_STATIC, RTS_BGP ] )
then {
accept;
}
reject;
};
}
##########################################################################
# end of file