Skip to main content
sims
Explorer II
Jun 24, 2019 12:30 PM UTC
Question

ospf filter

Hi,

How can I do ospf filter in fortigate 

Thanks

    3 replies

    sims
    simsAuthor
    Explorer II
    Jun 25, 2019 9:01 AM UTC

     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 

    Translate
    hubertzw
    New Member
    Jun 26, 2019 9:02 PM UTC

    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

    Translate
    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024