show ip ospf config

Displays general OSPF configuration information.
Syntax
show ip ospf config
Modes

User EXEC mode

The show ip ospf config command displays the following information:

Output field

Description

Router OSPF

Shows whether or not the router OSPF is enabled.

Nonstop Routing

Shows whether or not the non-stop routing is enabled.

Graceful Restart

Shows whether or not the graceful restart is enabled.

Graceful Restart Helper

Shows whether or not the OSPF graceful restart helper mode is enabled.

Graceful Restart Time

Shows the maximum restart wait time advertised to neighbors.

Graceful Restart Notify Time

Shows the graceful restart notification time.

Redistribution

Shows whether or not the redistribution is enabled.

Default OSPF Metric

Shows the default OSPF metric value.

OSPF Auto-cost Reference Bandwidth

Shows whether or not the auto-cost reference bandwidth option is enabled.

Default Passive Interface

Shows whether or not the default passive interface state is enabled.

OSPF Redistribution Metric

Shows the OSPF redistribution metric type, which can be one of the following:

  • Type1
  • Type2

OSPF External LSA Limit

Shows the external LSA limit value.

OSPF Database Overflow Interval

Shows the database overflow interval value.

RFC 1583 Compatibility

Shows whether or not the RFC 1583 compatibility is enabled.

Router id

Shows the ID of the OSPF router.

OSPF traps

Shows whether or not the following OSPF traps generation is enabled.

  • Interface State Change Trap
  • Virtual Interface State Change Trap
  • Neighbor State Change Trap
  • Virtual Neighbor State Change Trap
  • Interface Configuration Error Trap
  • Virtual Interface Configuration Error Trap
  • Interface Authentication Failure Trap
  • Virtual Interface Authentication Failure Trap
  • Interface Receive Bad Packet Trap
  • Virtual Interface Receive Bad Packet Trap
  • Interface Retransmit Packet Trap
  • Virtual Interface Retransmit Packet Trap
  • Originate LSA Trap
  • Originate MaxAge LSA Trap
  • Link State Database Overflow Trap
  • Link State Database Approaching Overflow Trap

Area-ID

Shows the area ID of the interface.

Area-Type

Shows the area type, which can be one of the following:

  • nssa
  • normal
  • stub

Cost

Shows the cost of the area.

Ethernet Interface

Shows the OSPF interface.

ip ospf md5-authentication-key-activation-wait-time

Shows the wait time of the device until placing a new MD5 key into effect.

ip ospf area

Shows the area of the interface.

ip ospf cost

Shows the overhead required to send a packet across an interface.

Examples

The following example displays general OSPF configuration information.

device> show ip ospf config
Router OSPF: Enabled
Nonstop Routing: Disabled
Graceful Restart: Disabled
Graceful Restart Helper: Enabled
Graceful Restart Time: 120
Graceful Restart Notify Time: 0
Redistribution: Disabled
Default OSPF Metric: 50
OSPF Auto-cost Reference Bandwidth: Disabled
Default Passive Interface: Enabled
OSPF Redistribution Metric: Type2
OSPF External LSA Limit: 1447047
OSPF Database Overflow Interval: 0
RFC 1583 Compatibility: Enabled
Router id: 10.95.11.128
Interface State Change Trap:                      Enabled
Virtual Interface State Change Trap:              Enabled
Neighbor State Change Trap:                       Enabled
Virtual Neighbor State Change Trap:               Enabled
Interface Configuration Error Trap:               Enabled
Virtual Interface Configuration Error Trap:       Enabled
Interface Authentication Failure Trap:            Enabled
Virtual Interface Authentication Failure Trap:    Enabled
Interface Receive Bad Packet Trap:                Enabled
Virtual Interface Receive Bad Packet Trap:        Enabled
Interface Retransmit Packet Trap:                 Disabled
Virtual Interface Retransmit Packet Trap:         Disabled
Originate LSA Trap:                               Disabled
Originate MaxAge LSA Trap:                        Disabled
Link State Database Overflow Trap:                Disabled
Link State Database Approaching Overflow Trap:    Disabled
OSPF Area currently defined:
Area-ID          Area-Type Cost
0                normal    0
OSPF Interfaces currently defined:
Ethernet Interface: 1/3/1-1/3/2
ip ospf md5-authentication-key-activation-wait-time 300
ip ospf cost 0
ip ospf area 0
Ethernet Interface: v1
ip ospf md5-authentication-key-activation-wait-time 300
ip ospf cost 0
ip ospf area 0
History