Hi team,
I have often the case that a prefix-list(6) updates causing an empty prefix-list. Prefix-list is used in route-map to allow ingress/egress prefixes for eBGP. For example I add additional prefix with higher rule number to that list. That will cause that route-map which using the prefix-list as match rule is dropping all prefixes egress / ingress. That cause bgp summary shows 0 0 PfxRcd / PfxSnt. Vyos shows the correct pref-list configuration.
Prefix-list:
set policy prefix-list6 BGP-IN6 rule 100 action 'deny' set policy prefix-list6 BGP-IN6 rule 100 prefix '::/0' set policy prefix-list6 BGP-IN6 rule 101 action 'deny' set policy prefix-list6 BGP-IN6 rule 101 le '128' set policy prefix-list6 BGP-IN6 rule 101 prefix 'xxx/48' set policy prefix-list6 BGP-IN6 rule 999 action 'permit' set policy prefix-list6 BGP-IN6 rule 999 le '48' set policy prefix-list6 BGP-IN6 rule 999 prefix '::/0' ...
Route-map:
set policy route-map BGP-IN6 rule 10 action 'permit' set policy route-map BGP-IN6 rule 10 match ipv6 address prefix-list 'BGP-IN6'
Restart of bgp daemon does not fix the issue. The only fix ist to delete all pref-list entries, commit and add all entries including the new entry to that prefix-list. Then all works as expected. It looks like an update of an existing pref-list with additional rule will cause that prefix-list return deny at any time until i delete all rules and add it again.
That a really annoying behavior.