It is possible to install a route-map which filters the routes between routing daemons and the OS kernel (zebra)
As of now this can be done by e.g.
- set protocols ospf route-map foo
- set protocols ospfv3 route-map foo
- set protocols bgp route-map foo
Which in turn will install the following lines into FRR
- ip protocol ospf route-map foo
- ipv6 protocol ospf6 route-map foo
- ip protocol bgp route-map foo
The current state of the VyOS CLI is incomplete as there is no way to:
- Install a filter for BGP IPv6 routes
- Install a filter for static routes
- Install a filter for connected routes
Thus the CLI should be redesigned to close match what FRR does for both the default and any other VRF
- set system ip protocol ospf route-map foo
- set system ipv6 protocol ospfv3 route-map foo
- set system ip protocol bgp route-map foo
- set system ipv6 protocol bgp route-map foo
The configuration can be migrated accordingly