Skip to main content
sims
Explorer II
June 24, 2019
Question

ospf filter

Hi,

How can I do ospf filter in fortigate 

Thanks

    3 replies

    sims
    simsAuthor
    Explorer II
    June 25, 2019

     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
    New Member
    June 26, 2019

    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

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT