BGP routes to address-list

i have MT 2.9.27 2 internet providers with BGP connections

how do i automatic add/remove all routes from bgp in address-list?

You want to filter / advertise routes based on an address-list ? Currently you have to use routing filters. What’s the goal, maybe there is a better way.

i use address list to mark metropolitan routes and make queue with bandwith limit !metro (routes from address-list)

and i need to refresh this list automaticaly with bgp routes

I have written in the Wiki a bgp to address-list script that should accomplish this for you. It takes a BGP feed and will recreate it within the address-list you choose. I use it for bogons, but it is the same concept. I would like to go the other way around, annouce addresses based on an address-list.

Sam

just add items from the address list to /routing bgp networks list (may require resend-all issued after this).

Eugene