Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

get router info ospf

Use this command to display status for OSPF.

Syntax

FortiADC-VM # get router info ospf ?

database database

interface show ospf interfaces

neighbor show ospf neighbors

route show ospf routing table

status show ospf status

 

FortiADC-VM # get router info ospf database ?

asbr-summary show ospf database ASBR summary link states

brief show ospf LSA list

external show ospf database external link states

max-age LSAs in MaxAge list

network show ospf database network link states

nssa-external show ospf database NSSA external link states

router show ospf database router link states

self-originate show ospf database self-originated link states

summary show ospf database network summary link states

Example

FortiADC-VM # get router info ospf status

OSPF Routing Process, Router ID: 1.1.1.2

Supports only single TOS (TOS0) routes

This implementation conforms to RFC2328

RFC1583Compatibility flag is disabled

OpaqueCapability flag is disabled

Initial SPF scheduling delay 200 millisec(s)

Minimum hold time between consecutive SPFs 1000 millisec(s)

Maximum hold time between consecutive SPFs 10000 millisec(s)

Hold time multiplier is currently 1

SPF algorithm has not been run

SPF timer is inactive

Refresh timer 10 secs

Number of external LSA 0. Checksum Sum 0x00000000

Number of opaque AS LSA 0. Checksum Sum 0x00000000

Number of areas attached to this router: 0

 

FortiADC-VM # get router info ospf database summary

 

OSPF Router with ID (1.1.1.2)

get router info ospf

Use this command to display status for OSPF.

Syntax

FortiADC-VM # get router info ospf ?

database database

interface show ospf interfaces

neighbor show ospf neighbors

route show ospf routing table

status show ospf status

 

FortiADC-VM # get router info ospf database ?

asbr-summary show ospf database ASBR summary link states

brief show ospf LSA list

external show ospf database external link states

max-age LSAs in MaxAge list

network show ospf database network link states

nssa-external show ospf database NSSA external link states

router show ospf database router link states

self-originate show ospf database self-originated link states

summary show ospf database network summary link states

Example

FortiADC-VM # get router info ospf status

OSPF Routing Process, Router ID: 1.1.1.2

Supports only single TOS (TOS0) routes

This implementation conforms to RFC2328

RFC1583Compatibility flag is disabled

OpaqueCapability flag is disabled

Initial SPF scheduling delay 200 millisec(s)

Minimum hold time between consecutive SPFs 1000 millisec(s)

Maximum hold time between consecutive SPFs 10000 millisec(s)

Hold time multiplier is currently 1

SPF algorithm has not been run

SPF timer is inactive

Refresh timer 10 secs

Number of external LSA 0. Checksum Sum 0x00000000

Number of opaque AS LSA 0. Checksum Sum 0x00000000

Number of areas attached to this router: 0

 

FortiADC-VM # get router info ospf database summary

 

OSPF Router with ID (1.1.1.2)