]> git.proxmox.com Git - mirror_frr.git/commitdiff
doc: Add new bgpd command `maximum-prefix <num> force`
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Fri, 24 Jul 2020 08:07:06 +0000 (11:07 +0300)
committerDonatas Abraitis <donatas.abraitis@gmail.com>
Sun, 26 Jul 2020 20:08:31 +0000 (23:08 +0300)
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
doc/user/bgp.rst

index bb968735b9bbb0446d6d5ae144c1e034983eca48..2ef78bcd6ba6a356db6001ef728ad24d6a5d8542 100644 (file)
@@ -1297,8 +1297,8 @@ Configuring Peers
 
    This command specifies a default `weight` value for the neighbor's routes.
 
-.. index:: [no] neighbor PEER maximum-prefix NUMBER
-.. clicmd:: [no] neighbor PEER maximum-prefix NUMBER
+.. index:: [no] neighbor PEER maximum-prefix NUMBER [force]
+.. clicmd:: [no] neighbor PEER maximum-prefix NUMBER [force]
 
    Sets a maximum number of prefixes we can receive from a given peer. If this
    number is exceeded, the BGP session will be destroyed.
@@ -1310,6 +1310,11 @@ Configuring Peers
    granular and offers much smarter matching criterion than number of received
    prefixes, making it more suited to implementing policy.
 
+   If _force_ is set, then ALL prefixes are counted for maximum instead of
+   accepted only. This is useful for cases where an inbound filter is applied,
+   but you want maximum-prefix to act on ALL (including filtered) prefixes. This
+   option requires `soft-reconfiguration inbound` to be enabled for the peer.
+
 .. index:: [no] neighbor PEER maximum-prefix-out NUMBER
 .. clicmd:: [no] neighbor PEER maximum-prefix-out NUMBER