Command
Show IP Route OSPF
Use
Allows you to see just the OSPF routes installed in the routing table.
Syntax
Router#show ip route ospf
Example
This example demonstrates the show ip route ospf command. First, here’s the full routing table for R2.
R2(config-if)#do sh ip route Gateway of last resort is not set 1.0.0.0/32 is subnetted, 3 subnets |
Next, here’s the routing table with just the OSPF routes.
R2(config)#do show ip route ospf |