summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2015-02-22 13:50:58 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2015-02-22 13:50:58 +0100
commita1beb8f3ee7a6e41dbe4bfd336b8bf5eecb46d01 (patch)
tree07e3269bb4fa1bb649af14e0aaf931003777e601 /doc
parent86c3eea0f3ec74ac1024d4aba4e98c962126f387 (diff)
Relax BGP neighbor parameter
Permit specifying neighbor address, AS number and port independently. Add 'interface' parameter for specifying interface for link-local sessions independently. Thanks to Alexander V. Chernikov for the original patch.
Diffstat (limited to 'doc')
-rw-r--r--doc/bird.sgml16
1 files changed, 13 insertions, 3 deletions
diff --git a/doc/bird.sgml b/doc/bird.sgml
index 1ba52481..5483ee63 100644
--- a/doc/bird.sgml
+++ b/doc/bird.sgml
@@ -1620,10 +1620,20 @@ using the following configuration parameters:
address, equivalent to the <cf/source address/ option (see below). This
parameter is mandatory.
- <tag>neighbor <m/ip/ [port <m/number/] as <m/number/</tag>
+ <tag>neighbor [<m/ip/] [port <m/number/] [as <m/number/]</tag>
Define neighboring router this instance will be talking to and what AS
- it's located in. In case the neighbor is in the same AS as we are, we
- automatically switch to iBGP. This parameter is mandatory.
+ 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
+ specified. The parameter may be used multiple times with different
+ sub-options (e.g., both <cf/neighbor 10.0.0.1 as 65000;/ and
+ <cf/neighbor 10.0.0.1; neighbor as 65000;/ are valid). This parameter is
+ mandatory.
+
+ <tag>interface <m/string/</tag>
+ Define interface we should use for link-local BGP IPv6 sessions.
+ Interface can also be specified as a part of <cf/neighbor address/
+ (e.g., <cf/neighbor fe80::1234%eth0 as 65000;/). It is an error to use
+ this parameter for non link-local sessions.
<tag>direct</tag>
Specify that the neighbor is directly connected. The IP address of the