router info ospf
Use this command to display information about the FortiGate OSPF configuration and/or the Link-State Advertisements (LSAs) that the FortiGate unit obtains and generates. An LSA identifies the interfaces of all OSPF-enabled routers in an area, and provides information that enables OSPF-enabled routers to select the shortest path to a destination.
Syntax
get router info ospf <keyword>
<keyword> | Description | |
border-routers |
Show OSPF routing table entries that have an Area Border Router (ABR) or Autonomous System Boundary Router (ASBR) as a destination. |
|
database <qualifier> |
Show information from the OSPF routing database according to the of these qualifiers. Some qualifiers require a target that can be one of the following values: Type adv_router <address_ipv4> to limit the information to LSAs originating from the router at the specified IP address. Type self-originate <address_ipv4> to limit the information to LSAs originating from the FortiGate unit. |
|
|
|
Type |
|
|
Type |
|
brief |
Type brief to show the number and type of LSAs associated with each OSPF area. |
|
external |
Type external to show information about external LSAs. |
|
|
Type |
|
|
Type |
|
|
Type |
|
opaque-area <address_ipv4> |
Type opaque-area <address_ipv4> to show information about opaque Type 10 (area-local) LSAs (see RFC 2370). |
|
opaque-as <address_ipv4> |
Type opaque-as <address_ipv4> to show information about opaque Type 11 LSAs (see RFC 2370), which are flooded throughout the AS. |
|
opaque-link <address_ipv4> |
Type opaque-link <address_ipv4> to show information about opaque Type 9 (link-local) LSAs (see RFC 2370). |
|
|
Type |
|
self-originate |
Type |
|
|
Type |
interface [<interface_name>] |
Show the status of one or all FortiGate interfaces and whether OSPF is enabled on those interfaces. |
|
neighbor [all | <neighbor_id> | detail | detail all | interface <address_ipv4>] |
Show general information about OSPF neighbors, excluding down-status neighbors: Type Type <neighbor_id> to show detailed information about the specified neighbor only. Type detail to show detailed information about all neighbors, excluding down-status neighbors. Type detail all to show detailed information about all neighbors, including down-status neighbors. Type |
|
route |
Show the OSPF routing table. |
|
status |
Show general information about the OSPF routing processes. |
|
virtual-links |
Show information about OSPF virtual links. |