From: Manuel Schweizer Date: Wed, 18 Oct 2023 15:11:22 +0000 (+0200) Subject: doc: add "enforce-first-as" to BGP doc X-Git-Tag: frr-9.1-rc~3^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F14621%2Fhead;p=mirror%2Ffrr.git 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) --- diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst index 7a7f9863bb..5b8ec11320 100644 --- a/doc/user/bgp.rst +++ b/doc/user/bgp.rst @@ -1504,6 +1504,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.