Skip to content

Commit

Permalink
Merge pull request #15308 from donaldsharp/update_source_documentation
Browse files Browse the repository at this point in the history
doc: Document `update-source <IFNAME>` command better
  • Loading branch information
mjstapp authored Feb 6, 2024
2 parents 969b2d4 + 5842a70 commit ac275c8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions doc/user/bgp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1626,10 +1626,12 @@ Configuring Peers

.. clicmd:: neighbor PEER update-source <IFNAME|ADDRESS>

Specify the IPv4 source address to use for the :abbr:`BGP` session to this
neighbour, may be specified as either an IPv4 address directly or as an
Specify the IPv4 or IPv6 source address to use for the :abbr:`BGP` session to this
neighbour, may be specified as either an IP address directly or as an
interface name (in which case the *zebra* daemon MUST be running in order
for *bgpd* to be able to retrieve interface state).
for *bgpd* to be able to retrieve interface state). When there are multiple
addresses on the choosen IFNAME then BGP will use the address that matches
the most number of bits in comparison to the destination peer address.

.. code-block:: frr
Expand Down

0 comments on commit ac275c8

Please sign in to comment.