From 93e7fbe7427048251f4a28dcd12fe449fec70e2b Mon Sep 17 00:00:00 2001 From: Manuel Schweizer Date: Wed, 18 Oct 2023 17:11:22 +0200 Subject: [PATCH] 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 (cherry picked from commit 3acc6ae932caf0e3c1eca3e2369230d300721a8b) --- doc/user/bgp.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst index 52bfa5b295ae..8512907b3a6c 100644 --- a/doc/user/bgp.rst +++ b/doc/user/bgp.rst @@ -1483,6 +1483,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.