White Papers

Table Of Contents
show ip ospf database router
Display the router (type 1) LSA information.
Syntax
show ip ospf process-id database router [link-state-id] [adv-router ip-
address]
Parameters
process-id
Enter the OSPF Process ID to show a specific process. If you do not enter a
process ID, the command applies only to the first OSPF process.
link-state-id
(OPTIONAL) Specify LSA ID in dotted decimal format. The LSA ID value depends
on the LSA type, and it can be one of the following:
the networks IP address for Type 3 LSAs or Type 5 LSAs
the routers OSPF router ID for Type 1 LSAs or Type 4 LSAs
the default destination (0.0.0.0) for Type 5 LSAs
adv-router
ip-
address
(OPTIONAL) Enter the keywords adv-router then the IP address of an
Advertising Router to display only the LSA information about that router.
Command Modes
EXEC
EXEC Privilege
Supported Modes FullSwitch
Command
History
Version Description
9.9(0.0) Introduced on the FN IOM.
8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
Usage
Information
The following describes the show ip ospf process-id database router command shown in
the following example.
Item Description
LS Age Displays the LSA age.
Options Displays the optional capabilities available on router. The following options can be
found in this item:
TOS-capability or No TOS-capability is displayed depending on whether the
router can support Type of Service.
DC or No DC is displayed depending on whether the originating router can
support OSPF over demand circuits.
E or No E is displayed on whether the originating router can accept AS External
LSAs.
LS Type Displays the LSA type.
Link State ID Displays the Link State ID.
Advertising
Router
Identifies the router ID of the LSAs originating router.
LS Seq Number Displays the link state sequence number. This number detects duplicate or old
LSAs.
Checksum Displays the Fletcher checksum of an LSAs complete contents.
Length Displays the length in bytes of the LSA.
Number of Links Displays the number of active links to the type of router (Area Border Router or AS
Boundary Router) listed in the previous line.
Link connected
to:
Identifies the type of network to which the router is connected.
(Link ID) Identifies the link type and address.
(Link Data) Identifies the router interface address.
846 Open Shortest Path First (OSPFv2 and OSPFv3)