mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 10:04:18 +00:00
doc: Document update-source <IFNAME>
command better
There was a question in regards to how the update-source choose the ip address for the source when using the `update-source` command in BGP. Upon looking at the code, I was a but surprised, so I decided to document this behavior. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
cac925f005
commit
5842a70a19
@ -1626,10 +1626,12 @@ Configuring Peers
|
|||||||
|
|
||||||
.. clicmd:: neighbor PEER update-source <IFNAME|ADDRESS>
|
.. clicmd:: neighbor PEER update-source <IFNAME|ADDRESS>
|
||||||
|
|
||||||
Specify the IPv4 source address to use for the :abbr:`BGP` session to this
|
Specify the IPv4 or IPv6 source address to use for the :abbr:`BGP` session to this
|
||||||
neighbour, may be specified as either an IPv4 address directly or as an
|
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
|
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
|
.. code-block:: frr
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user