Viewing general OSPF configuration information

Syntax:


show ip ospf general

General output for the show ip ospf command

switch(config)# show ip ospf general

 OSPF General Status

  OSPF protocol          : enabled
  Router ID              : 17.255.134.231
  RFC 1583 compatability : compatible

  Intra-area distance    : 110
  Inter-area distance    : 110
  AS-external distance   : 110

  Default import metric      : 10
  Default import metric type : external type 2

  Area Border               : no 
  AS Border                 : no 
  External LSA Count        : 0
  External LSA Checksum Sum : 0
  Originate New LSA Count   : 0
  Receive New LSA Count     : 0


  Graceful Restart Interval            : 120
  Graceful Restart Strict-Lsa Checking : Enabled
  Nonstop forwarding                   : Disabled

  Log Neighbor Adjacency Changes : Enabled

SPF Throttling
  
  Start Interval         : 3
  Wait Interval          : 3
  Maximum Wait Time      : 500
  Current Wait Interval  : 3

The show running-config command also displays the SPF configuration information. The configured parameters for SPF are highlighted in bold below.

switch(config)# show running-config

Running configuration:

; J8693A Configuration Editor; Created on release #K.15.07.0000x
; Ver #01:2f:2e

hostname "switch" 
module 1 type J86yyA 
module 2 type J86xxA 
vlan 1
   name "DEFAULT_VLAN" 
   untagged 1-4,7-48,A1-A4
   ipv6 address fe80::2 link-local 
   ip address dhcp-bootp
   ipv6 enable
   no untagged 5-6
   exit
power-over-ethernet pre-std-detect
router ospf
   spf-throttle start-interval 3 wait-interval 3 max-wait-time 500 
   exit
snmp-server community "public" unrestricted

The following fields are shown in the OSPF general status display:

Table 16: CLI display of OSPF general information

Field

Content

OSPF protocol

Whether OSPF is currently enabled.

Router ID

Router ID that this routing switch is currently using to identify itself.

RFC 1583 compatibility

Whether the routing switch is currently using RFC 1583 (compatible) or RFC 2328 (non-compatible rules for calculating external routes.

Intra-area distance

Administrative distance for routes within OSPF areas.

Inter-area distance

Administrative distance for routes between areas within the same OSPF domain.

AS-external

Administrative distance for routes between the OSPF domain and other, Exterior Gateway Protocol domains.

Default import metric

Default metric that will be used for any routes redistributed into OSPF by this routing switch

Default import metric type

Metric type (type 1 or type 2) that will be used for any routes redistributed into OSPF by this routing switch.

Area Border

Whether this routing switch is currently acting as an area border router.

AS Border

Whether this routing switch is currently acting as an AS border router (redistributing routes.)

External LSA Count

Total number of external LSAs currently in the routing switch's link state database.

External LSA Checksum Sum

Sum of the checksums of all external LSAs currently in the routing switch's link state database (quick check for whether database is in sync with other routers in the routing domain.)

Originate New LSA Count

Count of the number of times this switch has originated a new LSA.

Receive New LSA Count

Count of the number of times this switch has received a new LSA.

Graceful Restart Interval

Maximum seconds between graceful restarts.

Graceful Restart Strict-Lsa Checking

Whether LSA checking is enabled or disabled (terminates graceful restart when a change to an LSA would cause flooding during the restart.)

Nonstop forwarding

Whether nonstop forwarding (NSF) is enabled or disabled.

Log Neighbor Adjacency Changes

Whether changes in adjacent neighbors are logged.