It appears that on VyOS 1.5, the validation of large community list regular expressions is problematic. The following works fine on VyOS 1.3:
trae@cr01a-vyos# show policy large-community-list ANYCAST_ALL
rule 10 {
action permit
description "Allow all anycast from anywhere"
regex "4242420696:10[0-1]:.*"
}
trae@cr01a-vyos# run show ip large-community-list ANYCAST_ALL
Named large community expanded list ANYCAST_ALL
permit 4242420696:10[0-1]:.*
trae@cr01a-vyos# run show ip bgp large-community-list ANYCAST_ALL | grep Displ
Displayed 22 routes and 829 total pathsOn 1.5, however, this does not pass the configuration validation checks:
trae@cr01a-vyos# set policy large-community-list ANYCAST_ALL1 rule 10 regex "4242420696:10[0-1]:.*" Malformed large-community-list Value validation failed Set failed