Skip to content

Commit

Permalink
doc: add "enforce-first-as" to BGP doc
Browse files Browse the repository at this point in the history
With the deprecation of the global "bgp enforce-first-as" command back
in #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 <[email protected]>
(cherry picked from commit 3acc6ae)
  • Loading branch information
subsecond authored and mergify[bot] committed Oct 19, 2023
1 parent dce179f commit 8d2a5e5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/user/bgp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8d2a5e5

Please sign in to comment.