Reference Guide
• TOS—Displays the ToS options. The only option available is zero..
• Metric—Displays the LSA metric.
Example
OS10# show ip ospf 10 database summary 
 OSPF Router with ID (111.2.1.1) (Process ID 10)
 Summary Network (Area 0.0.0.0)
 LS age: 623
 Options: (No TOS-capability, No DC)
 C: Summary Network
 Link State ID: 115.1.1.0
 Advertising Router: 111.111.111.1
 LS Seq Number: 0x800001e8
 Checksum: 0x4a67
 Length: 28
 Network Mask: /24
 TOS: 0 Metric: 0
Supported Releases 10.2.0E or later
show ip ospf interface
Displays the congured OSPF interfaces. You must enable OSPF to display output.
Syntax
show ip ospf interface [process-id]interface or show ip ospf [process-id] 
interface [interface]
Parameters
• process-id — (Optional) Displays information for an OSPF Process ID. If you do not enter a Process ID, this 
command applies only to the rst OSPF process.
• interface — (Optional) Enter the interface information:
– ethernet — Enter the Ethernet interface information (1 to 48)
– port channel — Enter the port-channel interface number (1 to 128).
– vlan — Enter the VLAN interface number (1 to ).
Default Not congured
Command Mode EXEC
Example
OS10# show ip ospf interface
ethernet1/1/1 is up, line protocol is up
 Internet Address 10.0.0.2/24, Area 0.0.0.0
 Process ID 200, Router ID 10.0.0.2, Network Type broadcast, Cost: 1
 Transmit Delay is 1 sec, State DR, Priority 1
 Designated Router (ID) 10.0.0.2, Interface address 10.0.0.2 (local)
 Backup Designated router (ID) , Interface address 0.0.0.0
 Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
 Simple password authentication enabled
 Neighbor Count is 0, Adjacent neighbor count is 0
Supported Releases 10.2.0E or later
show ip ospf routes
Displays OSPF routes received from neighbors along with parameters like cost, next-hop, area, interface, and type of route.
Syntax
show ip ospf [process-id] routes [prefix IP-prefix]
Layer 3 433










