]> git.puffer.fish Git - matthieu/frr.git/commitdiff
doc: add "enforce-first-as" to BGP doc
authorManuel Schweizer <manuel.schweizer@gmail.com>
Wed, 18 Oct 2023 15:11:22 +0000 (17:11 +0200)
committerManuel Schweizer <manuel@cloudscale.ch>
Wed, 18 Oct 2023 15:30:39 +0000 (17:30 +0200)
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>
doc/user/bgp.rst

index d19278e4d9d693494fb1b6a795d73d4d687ddb5d..3e7efc12aa5e85c6e73ef73b0ef8bb8506d0da76 100644 (file)
@@ -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.