-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
limit community list count #17836
limit community list count #17836
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should also document what 0 means explicitly. Because what is now, it means unlimited, but me as an operator understand it as "do not accept the route if it has any community attached". There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. whatever the meaning, I will document it. thanks for advice. |
||
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 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you keep formatting for
route_map_rule_cmd
as others? (ignoring frrbot)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok