API Guide
Advertising Router: 2.2.2.2
LS Seq Number: 0x80000007
Checksum: 0x9DA1
Length: 28
Opaque Type: 8
Opaque ID: 65793
Supported
Releases
10.2.0E or later
show ip ospf database router
Displays information about the router Type 1 LSA.
Syntax
show ip ospf process-id [vrf vrf-name] database router
Parameters
● process-id — (Optional) Displays the router Type 1 LSA for an OSPF process ID. If you do not
enter a process ID, this command applies only to the first OSPF process.
● vrf vrf-name — (Optional) Displays the router Type 1 LSA for an OSPF process ID corresponding
to a VRF.
Default Not configured
Command Mode EXEC
Usage
Information
Output:
● LS age—Displays the LS age.
● Options—Displays optional capabilities.
● LS Type—Displays the LS type.
● Link State ID—Identifies the router ID.
● Advertising Router—Identifies the advertising router’s ID.
● LS Seq Number—Identifies the LS sequence number. This identifies old or duplicate LSAs.
● Checksum—Displays the Fletcher checksum of an LSA’s complete contents.
● Length—Displays the LSA length in bytes.
● TOS—Displays the ToS options. The only option available is zero.
● Metric—Displays the LSA metric.
Example
OS10# show ip ospf 10 database router
OSPF Router with ID (111.2.1.1) (Process ID 10)
Router (Area 0.0.0.0)
LS age: 1419
Options: (No TOS-capability, No DC, E)
LS type: Router
Link State ID: 111.2.1.1
Advertising Router: 111.2.1.1
LS Seq Number: 0x8000000d
Checksum: 0x9bf2
Length: 60
AS Boundary Router
Number of Links: 3
Link connected to: a Transit Network
(Link ID) Designated Router address: 110.1.1.2
(Link Data) Router Interface address: 110.1.1.1
Number of TOS metric: 0
TOS 0 Metric: 1
Link connected to: a Transit Network
(Link ID) Designated Router address: 111.1.1.1
(Link Data) Router Interface address: 111.1.1.1
Number of TOS metric: 0
Layer 3
717