how-to update a BGP filter?

Hello.

I have the following BGP filter:

chain=BGP-IPv4-Out prefix=xxx.xxx.xxx.xxx/xx prefix-length=xx-xx bgp-communities="" invert-match=no action=accept set-bgp-prepend-path="" append-bgp-communities=""

How do i update it to add no-export? :

set-bgp-communities=no-export

I tried this but it doesn’t work:

/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)

Hope someone can help me out.
Regards

Try:

/routing filter set [find chain="BGP-IPv4-Out"] set-bgp-communities=no-export

Doesn’t work.

Apologies, copied and pasted from your post, try:

/routing filter set [find chain="BGP-IPv4-Out"] bgp-communities=no-export

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.