From ae1e0f32992a44c4899d8145bc69fa71c8290855 Mon Sep 17 00:00:00 2001 From: Rafael Zalamena Date: Tue, 4 Aug 2020 18:35:53 -0300 Subject: [PATCH] doc: document allowas-in Document the command `allowas-in` and attempt to provide an useful explanation. Signed-off-by: Rafael Zalamena --- doc/user/bgp.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst index 741f0c7df8..a56532765b 100644 --- a/doc/user/bgp.rst +++ b/doc/user/bgp.rst @@ -1354,6 +1354,24 @@ Configuring Peers This command is only allowed for eBGP peers. +.. index:: [no] neighbor allowas-in [<(1-10)|origin>] +.. clicmd:: [no] neighbor 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 -- 2.39.5