cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
254
Views
0
Helpful
2
Replies

I want to advertise only specific OSPF routes.

The route learned by OSPF from the LAN is re-distributed to OMP for publicity to other sites.
I do not want to advertise the specific routes from OSPF. What kind of 'configuration' should we use ?
I want to control this in the SD-WAN Router side, not the LAN side devices.

1 Accepted Solution
2 Replies 2

We decided to use route-map to filter routes when redistribute the route from OSPF to OMP.
If I don't want to redistribute only certain routes, is the following config ok?

===================

========omp advertise =============
omp
address-family ipv4 vrf 3301
advertise ospf external
advertise ospf route-map OSPF-TO-OMP_FILTER

========prefix-list=============
ip prefix-list OSPF-to-OMP_prefix permit 10.10.10.0/24

========route-map definition=============
route-map OSPF-TO-OMP_FILTER deny 1
match ip address prefix-list OSPF-to-OMP_prefix
!
route-map OSPF-TO-OMP_FILTER permit 10
set metric 2
set metric-type type-1
!
route-map OSPF-TO-OMP_FILTER deny 65535
!

====================================