OSPF

Fortinet

config router ospf
    set router-id < insert ROUTER ID >
    config area
        edit 0.0.0.0
        next
    end
    config ospf-interface
        edit " < OSPF INTERFACE NAME > "
            set interface "port1" # Port from where neighbor will be discovered
            set hello-interval 10
            set dead-interval 40
    end
    config network
        edit 1
            set prefix 10.0.0.0 255.255.0.0 # Network shared with neighbor
        next
    end
Command Description
get router info ospf neighbor Show all OSPF neighbors (most common)
get router info ospf neighbor <neighbor-IP> Show details for a specific neighbor
get router info ospf neighbor detail or detail all More verbose output
get router info ospf interface Show OSPF interfaces and their status
get router info ospf status General OSPF process status
On this page
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9