From: Donatas Abraitis Date: Tue, 18 Aug 2020 20:08:16 +0000 (+0300) Subject: doc: Add `neighbor shutdown rtt ` X-Git-Tag: base_7.5~4^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=91052810f9df11b6858fbe01efbb1ea4d2590ba6;p=matthieu%2Ffrr.git doc: Add `neighbor shutdown rtt ` Signed-off-by: Donatas Abraitis --- diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst index 4a5bdc2428..25eaa577c1 100644 --- a/doc/user/bgp.rst +++ b/doc/user/bgp.rst @@ -1216,14 +1216,14 @@ Defining Peers The time in milliseconds that BGP will delay before deciding what peers can be put into an update-group together in order to generate a single update for them. The default time is 1000. - + .. _bgp-configuring-peers: Configuring Peers ^^^^^^^^^^^^^^^^^ -.. index:: [no] neighbor PEER shutdown [message MSG...] -.. clicmd:: [no] neighbor PEER shutdown [message MSG...] +.. index:: [no] neighbor PEER shutdown [message MSG...] [rtt (1-65535) [count (1-255)]] +.. clicmd:: [no] neighbor PEER shutdown [message MSG...] [rtt (1-65535) [count (1-255)]] Shutdown the peer. We can delete the neighbor's configuration by ``no neighbor PEER remote-as ASN`` but all configuration of the neighbor @@ -1232,6 +1232,12 @@ Configuring Peers Optionally you can specify a shutdown message `MSG`. + Also, you can specify optionally _rtt_ in milliseconds to automatically + shutdown the peer if round-trip-time becomes higher than defined. + + Additional _count_ parameter is the number of keepalive messages to count + before shutdown the peer if round-trip-time becomes higher than defined. + .. index:: [no] neighbor PEER disable-connected-check .. clicmd:: [no] neighbor PEER disable-connected-check