[Xorp-hackers] BGP groups
Kristian Larsson
kristian@juniks.net
Mon, 31 Oct 2005 19:19:00 +0100
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.