summaryrefslogtreecommitdiffstats
path: root/doc/user/bgp.rst
diff options
context:
space:
mode:
authorManuel Schweizer <manuel.schweizer@gmail.com>2023-10-18 17:11:22 +0200
committerManuel Schweizer <manuel@cloudscale.ch>2023-10-18 17:30:39 +0200
commit3acc6ae932caf0e3c1eca3e2369230d300721a8b (patch)
tree82382abebe970a1f2561fc48b72ce38154a32fd0 /doc/user/bgp.rst
parentMerge pull request #14607 from mobash-rasool/fixes2 (diff)
downloadfrr-3acc6ae932caf0e3c1eca3e2369230d300721a8b.tar.xz
frr-3acc6ae932caf0e3c1eca3e2369230d300721a8b.zip
doc: add "enforce-first-as" to BGP doc
With the deprecation of the global "bgp enforce-first-as" command back in https://github.com/FRRouting/frr/pull/2259 the newly introduced option to enable that setting on a specific peer was not documented. This commit adds the necessary documentation and states the command's default. Signed-off-by: Manuel Schweizer <manuel.schweizer@cloudscale.ch>
Diffstat (limited to 'doc/user/bgp.rst')
-rw-r--r--doc/user/bgp.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst
index d19278e4d..3e7efc12a 100644
--- a/doc/user/bgp.rst
+++ b/doc/user/bgp.rst
@@ -1521,6 +1521,13 @@ Configuring Peers
value is carried encoded as uint32. To enable backward compatibility we
need to disable IEEE floating-point encoding option per-peer.
+.. clicmd:: neighbor PEER enforce-first-as
+
+ Discard updates received from the specified (eBGP) peer if the AS_PATH
+ attribute does not contain the PEER's ASN as the first AS_PATH segment.
+
+ Default: disabled.
+
.. clicmd:: neighbor PEER extended-optional-parameters
Force Extended Optional Parameters Length format to be used for OPEN messages.