[Xorp-hackers] BGP groups

Mark Handley M.Handley@cs.ucl.ac.uk
Mon, 31 Oct 2005 20:12:17 +0000


You may be able to add this with only a template file change, and no
actual coding changes.

 - Mark

On 10/31/05, Kristian Larsson <kristian@juniks.net> wrote:
> I would like to hear peoples opinion on a group configuration under bgp.
> As so often I would like to bring up the "Juniper way" of doing things. In Juniper a normal BGP neighbor would be configured like this:
> protocols bgp {
>   local-as 1337;
>   group My_transit_provider {
>     remote-as 1338;
>     neighbour 1.3.3.7;
>     prefix-list out My_prefixes;
>   }
> }
>
> Having several peers with the same settings is real easy since you just add another neighbor statement, like this:
> protocols bgp {
>   group My_transit_provider {
>     local-as 1337;
>     remote-as 1338;
>     neighbour 1.3.3.7;
>     neighbour 1.3.3.8;
>     neighbour 1.3.3.9;
>     neighbour 1.3.3.10;
>     prefix-list out My_prefixes;
>   }
> }
>
> As group doesn't collide with any present BGP commands it would be easy to add and let the old peer statement remain as is to not surprise anyone ;)
>
> Any thoughts?
>
>   Kristian.
>
>
> _______________________________________________
> Xorp-hackers mailing list
> Xorp-hackers@icir.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
>