Reference Guide

Table Of Contents
Parameters process-id(Optional) Displays information based on the process ID.
Default Not configured
Command Mode EXEC
Usage
Information
You can isolate problems with external routes. External OSPF routes are calculated by adding the LSA
cost to the cost of reaching the ASBR router. If an external route does not have the correct cost,
this command determines if the path to the originating router is correct. ASBRs that are not in directly
connected areas display. You can determine if an ASBR is in a directly connected area or not by the flags.
For ASBRs in a directly connected area, E flags are set.
Example
OS10# show ip ospf 10 asbr
RouterID Flags Cost Nexthop Interface Area
112.2.1.1 E/-/-/ 1 110.1.1.2 vlan3050 0.0.0.0
111.2.1.1 E/-/-/ 0 0.0.0.0 - -
Supported
Releases
10.2.0E or later
show ip ospf database
Displays all LSA information. You must enable OSPF to generate output.
Syntax
show ip ospf [process-id] database
Parameters process-id (Optional) View LSA information for a specific OSPF process ID. If you do not enter a
process ID, the command applies to all the configured OSPF processes.
Default Not configured
Command Mode EXEC
Usage
Information
Link ID Identifies the router ID.
ADV Router Identifies the advertising routers ID.
Age Displays the link state age.
Seq# Identifies the link state sequence number (identifies old or duplicate LSAs).
Checksum Displays the Fletcher checksum of an LSAs complete contents.
Link count Displays the number of interfaces for that router.
Example
OS10# show ip ospf 10 database
OSPF Router with ID (111.2.1.1) (Process ID 10)
Router (Area 0.0.0.0)
Link ID ADV Router Age Seq# Checksum Link
count
111.2.1.1 111.2.1.1 1281 0x8000000d 0x9bf2 3
111.111.111.1 111.111.111.1 1430 0x8000021a 0x515a 1
111.111.111.2 111.111.111.2 1430 0x8000021a 0x5552 1
112.2.1.1 112.2.1.1 1282 0x8000000b 0x0485 3
112.112.112.1 112.112.112.1 1305 0x80000250 0xbab2 1
112.112.112.2 112.112.112.2 1305 0x80000250 0xbeaa 1
Network (Area 0.0.0.0)
Link ID ADV Router Age Seq# Checksum
110.1.1.2 112.2.1.1 1287 0x80000008 0xd2b1
111.1.1.1 111.2.1.1 1458 0x80000008 0x1b8f
111.2.1.1 111.2.1.1 1458 0x80000008 0x198f
112.1.1.1 112.2.1.1 1372 0x80000008 0x287c
112.2.1.1 112.2.1.1 1372 0x80000008 0x267c
Summary Network (Area 0.0.0.0)
Layer 3 403