Skip to content

Commit

Permalink
doc: Add a new command to resend dynamic capabilities
Browse files Browse the repository at this point in the history
For now it includes only FQDN capability, because other capabilities can be
resend using specific knobs.

Signed-off-by: Donatas Abraitis <[email protected]>
  • Loading branch information
ton31337 committed Oct 6, 2023
1 parent c6bf7f4 commit ccfbedf
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions doc/user/bgp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3925,6 +3925,26 @@ The following are available in the top level *enable* mode:
Clear BGP message statistics for a specified peer or for all peers,
optionally filtered by activated address-family and sub-address-family.

.. clicmd:: clear bgp [ipv4|ipv6] [unicast] PEER|\* capabilities

Clear specific BGP capabilities for a specified peer or for all peers. This
includes such capabilities like FQDN capability, that can't be controlled by
any other configuration knob.

For example, if you want to change the FQDN, you MUST reset the BGP session
in order to send a new FQDN capability to the peer. This command allows you
to resend FQDN capability without resetting the session.

.. code-block:: frr
hostname bgp-new.example.com
clear bgp 10.10.10.1 capabilities
.. note::

Changing the hostname is possible only when connected to the specific daemon.
If you change the hostname via ``vtysh``, it won't be changed.

The following are available in the ``router bgp`` mode:

.. clicmd:: write-quanta (1-64)
Expand Down

0 comments on commit ccfbedf

Please sign in to comment.