/routing filter set set-bgp-communities=no-export [find chain=BGP-IPv4-Out]
If i set it using Winbox and run the command, the option is removed. (I actually need this to be working on command line because it is to include into a script)
The no-export seems cannot be set on update. At least mikrotik doesn’t assume it.
The alternative I found was to set it with the 32bit version of no-export:
/routing filter set [find chain="BGP-IPv4-Out"] bgp-communities=65535:65281
I don’t know if this is a bug or not, but the mikrotik team needs to have a look into it. Maybe other variables can’t be set either.