Page MenuHomeVyOS Platform

Adding community 'internet' throws an exception
Closed, ResolvedPublicBUG

Description

Adding community 'internet' throws an exception

vyos@vyos# set policy route-map test rule 10 action permit
[edit]
vyos@vyos# set policy route-map test rule 10 set community add internet
[edit]
vyos@vyos# commit

[4590|mgmtd] sending configuration [4591|zebra] sending configuration
[4593|ripngd] sending configuration [4592|ripd] sending configuration
[4594|ospfd] sending configuration [4595|ospf6d] sending configuration
[4596|ldpd] sending configuration [4598|isisd] sending configuration
[4597|bgpd] sending configuration [4602|babeld] sending configuration
[4591|zebra] done [4593|ripngd] done [4590|mgmtd] done [4596|ldpd] done
[4594|ospfd] done [4605|watchfrr] sending configuration [4598|isisd]
done Waiting for children to finish applying config... [4608|bfdd]
sending configuration [4592|ripd] done [4607|staticd] sending
configuration [4595|ospf6d] done [4611|pim6d] sending configuration %
Malformed communities attribute 'internet' line 2: Failure to
communicate[13] to bgpd, line:  set community internet additive
[4597|bgpd] Configuration file[/etc/frr/frr.conf] processing failure: 13
[4605|watchfrr] done [4608|bfdd] done [4607|staticd] done [4602|babeld]
done [4611|pim6d] done [4616|zebra] sending configuration [4617|ripd]
sending configuration [4615|mgmtd] sending configuration [4618|ripngd]
sending configuration [4619|ospfd] sending configuration [4620|ospf6d]
sending configuration [4621|ldpd] sending configuration [4622|bgpd]
sending configuration [4617|ripd] done [4616|zebra] done [4623|isisd]
sending configuration [4618|ripngd] done [4619|ospfd] done % Malformed
communities attribute 'internet' line 2: Failure to communicate[13] to
bgpd, line:  set community internet additive  [4615|mgmtd] done %
Malformed communities attribute 'internet' line 6: Failure to
communicate[13] to bgpd, line:  set community internet additive
[4620|ospf6d] done [4622|bgpd] Configuration file[/etc/frr/frr.conf]
processing failure: 13 [4630|watchfrr] sending configuration
[4627|babeld] sending configuration [4632|staticd] sending configuration
[4633|bfdd] sending configuration Waiting for children to finish
applying config... [4621|ldpd] done [4636|pim6d] sending configuration
[4633|bfdd] done [4632|staticd] done [4623|isisd] done [4627|babeld]
done [4630|watchfrr] done [4636|pim6d] done

[[policy]] failed
Commit failed
[edit]
vyos@vyos#

I have tested directly in FRR and FRR throws an exception too.

vyos(config)# route-map test permit 10
vyos(config-route-map)# set community
  AA:NN  Community number in AA:NN format (where AA and NN are (0-65535)) or local-AS|no-advertise|no-export|internet|graceful-shutdown|accept-own-nexthop|accept-own|route-filter-translated-v4|route-filter-v4|route-filter-translated-v6|route-filter-v6|llgr-stale|no-llgr|blackhole|no-peer or additive
  none   No community attribute
vyos(config-route-map)# set community internet
% Malformed communities attribute 'internet'

Need to delete or fix this error.

Details

Version
vyos 1.4.1, vyos 1.5-rolling-202501290006
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

a.apostoliuk triaged this task as Normal priority.

Looks like this was deprecated in FRR a while ago: https://github.com/FRRouting/frr/commit/81a57d81812115bdbab25168e86e509e2db607a1

I can whip up a quick PR to just remove it, but might it be worthwhile keeping it around and handled by VyOS?

My assumption is not many people use it if it hadn't been noticed this long, and it's never been part of any standard, just some IOS shorthand. Potentially a config migration to 0:0 would be sufficient.

@talmakion I think it good idea is removed , this attribute was added by cisco in the early day of internet, as you mentioned , it can be solved using 0:0 in a RM.

Viacheslav changed the task status from Open to In progress.Feb 26 2025, 1:38 PM
Viacheslav assigned this task to talmakion.
dmbaturin moved this task from Open to Finished on the VyOS 1.5 Circinus board.
dmbaturin moved this task from Backlog to Finished on the VyOS 1.4 Sagitta (1.4.3) board.