]> git.puffer.fish Git - matthieu/frr.git/commitdiff
doc: document allowas-in
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Tue, 4 Aug 2020 21:35:53 +0000 (18:35 -0300)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Tue, 4 Aug 2020 21:35:53 +0000 (18:35 -0300)
Document the command `allowas-in` and attempt to provide an useful
explanation.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
doc/user/bgp.rst

index 741f0c7df8afdd25a2945516611110fa183a941c..a56532765b442e1373d84ca962c5dbbc90bca04e 100644 (file)
@@ -1354,6 +1354,24 @@ Configuring Peers
 
    This command is only allowed for eBGP peers.
 
+.. index:: [no] neighbor <A.B.C.D|X:X::X:X|WORD> allowas-in [<(1-10)|origin>]
+.. clicmd:: [no] neighbor <A.B.C.D|X:X::X:X|WORD> allowas-in [<(1-10)|origin>]
+
+   Accept incoming routes with AS path containing AS number with the same value
+   as the current system AS.
+
+   This is used when you want to use the same AS number in your sites, but you
+   can't connect them directly. This is an alternative to
+   `neighbor WORD as-override`.
+
+   The parameter `(1-10)` configures the amount of accepted occurences of the
+   system AS number in AS path.
+
+   The parameter `origin` configures BGP to only accept routes originated with
+   the same AS number as the system.
+
+   This command is only allowed for eBGP peers.
+
 .. index:: [no] neighbor PEER ttl-security hops NUMBER
 .. clicmd:: [no] neighbor PEER ttl-security hops NUMBER