22-44
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-03
Chapter22 Configuring IP Unicast Routing
Configuring OSPF
Monitoring OSPF
You can display specific statistics such as the contents of IP routing tables, caches, and databases.
Table22-8 lists some of the privileged EXEC commands for displaying statistics. For more show ip ospf
database privileged EXEC command options and for explanations of fields in the resulting display, refer
to the Cisco IOS IP and IP Routing Command Reference for Release 12.1.
This is an example of output from the show ip ospf p rivileg ed EXEC co mman d with no proce ss ID:
Switch# show ip ospf
Routing Process "ospf 1" with ID 172.20.135.202 and Domain ID 0.0.0.1
Supports only single TOS(TOS0) routes
Supports opaque LSA
SPF schedule delay 5 secs, Hold time between two SPFs 10 secs
Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs
Number of external LSA 0. Checksum Sum 0x0
Number of opaque AS LSA 0. Checksum Sum 0x0
Number of DCbitless external and opaque AS LSA 0
Number of DoNotAge external and opaque AS LSA 0
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
External flood list length 0
Area 1
Number of interfaces in this area is 1
Area has no authentication
SPF algorithm executed 1 times
Area ranges are
Number of LSA 1. Checksum Sum 0x39E7
Number of opaque link LSA 0. Checksum Sum 0x0
Number of DCbitless LSA 0
Number of indication LSA 0
Number of DoNotAge LSA 0
Flood list length 0
Table22-8 Show IP OSPF Statistics Commands
Command Purpose
show ip ospf [process-id] Display general information about OSPF routing
processes.
show ip ospf [process-id] database [router] [link-state-id]
show ip ospf [process-id] database [router] [self-originate]
show ip ospf [process-id] database [router] [adv-router [ip-address]]
show ip ospf [process-id] database [network] [link-state-id]
show ip ospf [process-id] database [summary] [link-state-id]
show ip ospf [process-id] database [asbr-summary] [link-state-id]
show ip ospf [process-id] database [external] [link-state-id]
show ip ospf [process-id area-id] database [database-summary]
Display lists of information related to the OSPF
database.
show ip ospf border-routes Display the internal OSPF routing ABR and ASBR
table entries.
show ip ospf interface [interface-name] Display OSPF-related interface information.
show ip ospf neighbor [interface-name] [neighbor-id] detail Display OSPF interface neighbor information.
show ip ospf virtual-links Display OSPF-related virtual links information.