Users Guide

Table Of Contents
show ip ospf asbr
Displays all the ASBR visible to OSPF.
Syntax
show ip ospf [process-id] [vrf vrf-name] asbr
Parameters
process-id—(Optional) Displays information based on the process ID.
vrf vrf-name — (Optional) Displays the ASBR router visible to the OSPF process configured in the
specified VRF.
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 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] [vrf vrf-name] 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.
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 configured
Command Mode EXEC
Usage Information
Link ID — Identifies the router ID.
ADV Router — Identifies the advertising router’s ID.
Age — Displays the LS age.
Seq# — Identifies the LS sequence number. This identifies 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)
Layer 3 631