Using the following changed configuration:
vyos@vyos# show protocols
ospf {
area 0 {
area-type {
normal
}
authentication md5
network xxx.yyy.150.112/28
}
parameters {
abr-type cisco
router-id xxx.yyy.150.253
}
- passive-interface default
- passive-interface-exclude eth1
- passive-interface-exclude eth2.5
redistribute {
connected {
metric-type 2
route-map MAP-OSPF-CONNECTED
}
}
}Results in:
vyos@vyos# commit [ protocols ospf ] For this router-id change to take effect, save config and restart ospfd [ protocols ospf passive-interface default ] sh: line 8: [: eth1: unary operator expected
but the change is accepted into the running configuration
Problem can be easy reproduced by:
set protocols ospf passive-interface default set protocols ospf passive-interface-exclude eth1 set protocols ospf passive-interface-exclude eth2.5 commit delete protocols ospf passive-interface default delete protocols ospf passive-interface-exclude eth1 delete protocols ospf passive-interface-exclude eth2.5 commit => ERROR