summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2025-01-10 17:29:10 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2025-01-14 13:59:42 +0100
commitf19b8668b3cbbad6d14eb348c9b8a0f7ac6ac46f (patch)
tree5f0c3b2c69bdaeb1ebdbcf1bd1547110269fba96 /doc
parentMerge pull request #17840 from Jafaral/pim-acl-test (diff)
downloadfrr-f19b8668b3cbbad6d14eb348c9b8a0f7ac6ac46f.tar.xz
frr-f19b8668b3cbbad6d14eb348c9b8a0f7ac6ac46f.zip
bgpd: add 'match community-count' command to restrict comm count
Add a mechanism in route-map to filter out route-map which have a list of communities greater than the given number. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/user/bgp.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst
index d07bb6503..1493c2fb9 100644
--- a/doc/user/bgp.rst
+++ b/doc/user/bgp.rst
@@ -2693,6 +2693,12 @@ The following commands can be used in route maps:
happen only when BGP updates have completely same communities value
specified in the community list.
+.. clicmd:: match community-limit (0-65535)
+
+ This command matches BGP updates that use community list, and with a community
+ list count less or equal than the defined limit. Setting community-limit to 0
+ will only match BGP updates with no community.
+
.. clicmd:: set community <none|COMMUNITY> additive
This command sets the community value in BGP updates. If the attribute is