Connectivity Guide

Table Of Contents
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 by the ags. For ASBRs in a directly connected area, E ags
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] [vrf vrf-name] database
Parameters
process-id — (Optional) View LSA information for a specic OSPF process ID. If you do not enter a
process ID, the command applies to all the congured OSPF processes.
vrf vrf-name — (Optional) Enter the keyword vrf followed by the name of the VRF to display LSA
information for the OSPF process corresponding to that VRF.
Default Not congured
Command Mode EXEC
Usage Information
Link IDIdenties the router ID.
ADV RouterIdenties the advertising router’s ID.
Age — Displays the LS age.
Seq#Identies the LS sequence number. This identies old or duplicate LSAs.
Checksum — Displays the Fletcher checksum of an LSA’s 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
454 Layer 3