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>
(cherry picked from commit 3acc6ae932)
This commit is contained in:
Manuel Schweizer 2023-10-18 17:11:22 +02:00 committed by Mergify
parent dce179f9c1
commit 8d2a5e539f

View File

@ -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.