Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
sims
New Contributor III

ospf filter

Hi,

How can I do ospf filter in fortigate 

Thanks

3 REPLIES 3
hubertzw
Contributor III

sims
New Contributor III

 Here is my scenario I  have  three vdoms , vdom aVdom bVdom c Vdom  has static routes and connected networks , it is redistributed in  OSPF  .  I don’t want  these redistributed routes  from a and b in vdom c’s routing table Vdim a ,b and c are in same areas Thanks 

hubertzw
Contributor III

Can you try something like this? I didn't have chance to test it

 

1) set tag for the redistributed connected on one device

config router ospf
config redistribute connected
set tag 12345

2) then configure a route-map to filter tagged prefixes from the above device


config router route-map
edit test-tag
config rule
edit 1
set action deny
set match-tag 12345
end

config router ospf
set distribute-route-map-in test-tag

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors