Pcornel
Browse topics
Options
Recent
Favorites
Command · Cisco IOS / IOS XE

show ip ospf statistics

show ip ospf statistics

Shows how often OSPF ran SPF in each area, how long it took and what triggered it.

Execution context

Privileged EXEC

Use when

Routes flap or CPU spikes and you suspect repeated SPF runs.

Privilege Privileged EXECState impact Read-onlyProduction Unknown

Operational impact: Read-only.
Command detailsSafety model · family · platform · verification · bundle
PrivilegePrivileged EXEC
Execution contextPrivileged EXEC
State impactRead-only
Safe during productionUnknown
CategoryOSPF
Evidence levelmixed
Primary DomainNetworking
Historical technical verificationNeeds verification dateCurrent command content requires review after a Git edit.
Family
PlatformCisco IOS / IOS XE
PrerequisitePrivileged EXEC
Output fields

Field glossary

Important fields projected from persisted Command guidance.

Area, SPF algorithm executed N times, SPF calculation time, LSA types changed, trigger reasons

Important persisted output field; use surrounding guidance for interpretation.

Command → Topic semantics

Used in these Topics

Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.

DomainsNetworking

Find another Command

Reference enrichment

Evidence boundary

What this output can establish — and where you must not over-claim.

Proves

Shows how many SPF runs happened, how long they took and which LSA changes triggered them.

Does not prove

Does not prove which physical link caused the change or that the final routes are correct.

Next check

Find the flapping link with show ip ospf neighbor and show logging.

Depth when you need it

Command guidance

Execution context

Privileged EXEC

Use when

Routes flap or CPU spikes and you suspect repeated SPF runs.

Important fields

Area, SPF algorithm executed N times, SPF calculation time, LSA types changed, trigger reasons

Common problems

SPF running every few seconds because of a flapping link or router; slow SPF in a large area

Operational impact

Read-only.

Technical context

Use "detail" to see which LSAs changed in each run. A rising SPF count with the same LSA points at the source of the flap.

Confirmation

Confirm action

Continue?