Commit 7a8ae228 authored by Ondřej Zajíček's avatar Ondřej Zajíček

Doc: Update BGP documentation

Thanks to Joshua McQuistan for the bugreport.
parent e95705f0
...@@ -2118,22 +2118,24 @@ to set routing policy and all the other parameters differently for each neighbor ...@@ -2118,22 +2118,24 @@ to set routing policy and all the other parameters differently for each neighbor
using the following configuration parameters: using the following configuration parameters:
<descrip> <descrip>
<tag><label id="bgp-local">local [<m/ip/] as <m/number/</tag> <tag><label id="bgp-local">local [<m/ip/] [port <m/number/] [as <m/number/]</tag>
Define which AS we are part of. (Note that contrary to other IP routers, Define which AS we are part of. (Note that contrary to other IP routers,
BIRD is able to act as a router located in multiple AS'es simultaneously, BIRD is able to act as a router located in multiple AS'es simultaneously,
but in such cases you need to tweak the BGP paths manually in the filters but in such cases you need to tweak the BGP paths manually in the filters
to get consistent behavior.) Optional <cf/ip/ argument specifies a source to get consistent behavior.) Optional <cf/ip/ argument specifies a source
address, equivalent to the <cf/source address/ option (see below). This address, equivalent to the <cf/source address/ option (see below).
parameter is mandatory. Optional </cf/port> argument specifies the local BGP port instead of
standard port 179. The parameter may be used multiple times with
different sub-options (e.g., both <cf/local 10.0.0.1 as 65000;/ and
<cf/local 10.0.0.1; local as 65000;/ are valid). This parameter is
mandatory.
<tag><label id="bgp-neighbor">neighbor [<m/ip/] [port <m/number/] [as <m/number/]</tag> <tag><label id="bgp-neighbor">neighbor [<m/ip/] [port <m/number/] [as <m/number/]</tag>
Define neighboring router this instance will be talking to and what AS Define neighboring router this instance will be talking to and what AS
it is located in. In case the neighbor is in the same AS as we are, we it is located in. In case the neighbor is in the same AS as we are, we
automatically switch to iBGP. Optionally, the remote port may also be automatically switch to iBGP. Optionally, the remote port may also be
specified. The parameter may be used multiple times with different specified. Like <cf/local/ parameter, this parameter may also be used
sub-options (e.g., both <cf/neighbor 10.0.0.1 as 65000;/ and multiple times with different sub-options. This parameter is mandatory.
<cf/neighbor 10.0.0.1; neighbor as 65000;/ are valid). This parameter is
mandatory.
<tag><label id="bgp-iface">interface <m/string/</tag> <tag><label id="bgp-iface">interface <m/string/</tag>
Define interface we should use for link-local BGP IPv6 sessions. Define interface we should use for link-local BGP IPv6 sessions.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment