Description:
In a newly deployed 1.4.2 image , when loaded with a configuration file where community attribute is set with replace value, commit fails. Attached the full config for reference.
It sends a empty value between quotes
vyos@vyos# load /tmp/new_config
Loading configuration from '/tmp/newconf'
Load complete. Use 'commit' to make changes effective.
[edit]
vyos@vyos# compare
......
+ route-map test01 {
+ rule 10 {
+ action "deny"
+ match {
+ ip {
+ address {
+ prefix-list "net01"
+ }
+ }
+ }
+ }
+ rule 30 {
+ action "permit"
+ set {
+ community {
+ replace ""
+ }
+ }
+ }
vyos@vyos# commit
[ policy route-map test01 rule 30 set community replace ]
Invalid community format
[ policy route-map test01 rule 30 set community replace ]
Invalid value
[[policy]] failed
Commit failed
[edit]The same configuration loads from an old config.boot file from the device if added and modified in a previous change.