Reference Guide

Open Shortest Path First (OSPFv2) | 1097
Command
History
Usage
Information
This command is useful in isolating routing problems between OSPF and RTM. For example,
if a route is missing from the RTM/FIB but is visible from the display output of this
command, then likely the problem is with downloading the route to the RTM.
This command has the following limitations:
The display output is sorted by prefixes; intra-area ECMP routes are not
displayed together.
For Type 2 external routes, type1 cost is not displayed.
Example
FTOS#show ip ospf 100 route
Prefix Cost Nexthop Interface Area Type
1.1.1.1 1 0.0.0.0 Lo 0 0 Intra-Area
3.3.3.3 2 13.0.0.3 Gi 0/47 1 Intra-Area
13.0.0.0 1 0.0.0.0 Gi 0/47 0 Intra-Area
150.150.150.0 2 13.0.0.3 Gi 0/47 - External
172.30.1.0 2 13.0.0.3 Gi 0/47 1 Intra-Area
FTOS#
show ip ospf statistics
c e s
Display OSPF statistics.
Syntax
show ip ospf process-id statistics global | [interface name {neighbor router-id}]
Parameters
Version 8.3.7.0 Introduced on S4810
Version 7.8.1.0 Introduced support of Multi-Process OSPF.
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series and E-Series
process-id Enter the OSPF Process ID to show a specific process.
If no Process ID is entered, command applies only to the first OSPF
process.
global
Enter the keyword global to display the packet counts received on all
running OSPF interfaces and packet counts received and transmitted by
all OSPF neighbors.