Administrator Guide

Usage Information
This command is useful in isolating routing problems between the OSPF and the RTM. For example, if a route is
missing from the RTM/FIB but is visible from the display output of this command, 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, Type 1 cost is not displayed.
Example
Dell#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 Te 0/47 1 Intra-Area
13.0.0.0 1 0.0.0.0 Te 0/47 0 Intra-Area
150.150.150.0 2 13.0.0.3 Te 0/47 - External
172.30.1.0 2 13.0.0.3 Te 0/47 1 Intra-Area
Dell#
show ip ospf statistics
Display OSPF statistics.
C9000 Series
Syntax
show ip ospf [process-id | vrf vrf-name] statistics global | [interface name
{neighbor router-id}]
Parameters
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.
vrf
vrf-name
Enter the keyword vrf and the name of the VRF to display statistics corresponding to
the OSPF process that is tied to a specific VRF.
global Enter the keyword global to display the packet counts received on all running OSPF
interfaces and packet counts OSPF neighbors receive and transmit.
interface
name
(OPTIONAL) Enter the keyword interface then one of the following interface
keywords and slot/port or number information:
For a 1-Gigabit Ethernet interface, enter the keyword GigabitEthernet then the
slot/port information.
For a 10-Gigabit Ethernet interface, enter the keyword TenGigabitEthernet then
the slot/port information.
For a 40-Gigabit Ethernet interface, enter the keyword fortyGigE then the slot/
port information.
For a Loopback interface, enter the keyword loopback then a number from 0 to
16383.
For a Null interface, enter the keywords null 0.
For a Port Channel interface, enter the keywords port-channel then a number.
For a tunnel interface, enter the keyword tunnel then the tunnel ID. The range is
from 1 to 16383.
For a VLAN interface, enter the keyword vlan then a number from 1 to 4094.
neighbor
router-id
(OPTIONAL) Enter the keyword neighbor then the neighbor’s router-id in dotted
decimal format (A.B.C.D.).
Defaults none
Command Modes
EXEC
EXEC Privilege
1162 Open Shortest Path First (OSPFv2 and OSPFv3)