While the keyword "additive" is implemented for communities in route-maps, it is currently not usable I think:
[edit policy route-map community-test] vyos@vyos# set rule 10 set community 6500:123 additive Configuration path: rule 10 set community 6500:123 [additive] is not valid Set failed [edit policy route-map community-test] vyos@vyos# set rule 10 set community additive 6500:123 Configuration path: rule 10 set community additive [6500:123] is not valid Set failed [edit policy route-map community-test]
It is only possible to specify additive without specifying any community, which isn't really useful:
[edit policy route-map community-test] vyos@vyos# sh +rule 10 { + action permit + set { + community 6500:123 + } +} [edit policy route-map community-test] vyos@vyos# set rule 10 set community additive [edit policy route-map community-test] vyos@vyos# sh +rule 10 { + action permit + set { + community additive + } +} [edit policy route-map community-test]
FRR supports additive for large-communities as well, but it is not currently supported in vyos.
Version:
vyos@vyos# run sh version Version: VyOS 1.3-rolling-202009030118 Release Train: equuleus Built by: [email protected] Built on: Thu 03 Sep 2020 01:18 UTC Build UUID: 83c8515b-213b-4ac6-9b9a-2a0f24bbbda7 Build Commit ID: 221fd153830307 Architecture: x86_64 Boot via: livecd System type: KVM guest Hardware vendor: QEMU Hardware model: Standard PC (i440FX + PIIX, 1996) Hardware S/N: Unknown Hardware UUID: Unknown Copyright: VyOS maintainers and contributors