Kindly I am trying to build route injector, which importing routes from route servers via iBGP, and advertise routes to my core routers via eBGP.
The issue here that I need to peer with more than 100 route servers, and I need that to be done automatically if I can, not via going each time -in case we have new route server- to route injector and write that manually.
So my question is: can we define BGP neighbour as regular expression maybe? so for example I will peer with neighbours whose their addresses: "<10.10.0.[1-100]>"? or is there any other idea?
"passive" + "allow" knobs under BGP group is the solution:
set protocols bgp group RTSVRS peer-as 65530
set protocols bgp group RTSVRS local-address 203.0.113.1
set protocols bgp group RTSVRS passive
set protocols bgp group RTSVRS allow 10.10.0.0/25 ## will allow 10.10.0.0 thru 10.10.0.127
Please note BGP authentication is not supported with "passive" knob.
awesome, thanks man
Just to complete the idea if someone reads this:
We can't use "allow" with "authentication" enabled.