Reference Guide

show ip ospf asbr
Displays all the ASBR visible to OSPF.
Syntax
show ip ospf [process-id] asbr
Parameters process-id—(Optional) Displays information based on the process ID.
Default Not congured
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 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] 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.
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 link state age.
Seq#Identies the link state sequence number (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)
424 Layer 3