OcNOS-RON-6.3.1 : Layer 3 Guide : Open Shortest Path First Command Reference : OSPFv2 Commands : show ip ospf database brief
show ip ospf database brief
Use this command to display a summary of the OSPF database.
Command Syntax
show ip ospf database (self-originate|max-age|adv-router A.B.C.D|)
show ip ospf <0-65535> database(self-originate|max-age|adv-router A.B.C.D|)
Parameters
self-originate
Self-originated link states.
max-age
LSAs which have reached the maximum age (3600 seconds).
A.B.C.D
IPv4 address of the advertising router.
<0-65535>
ID of the router process
Command Mode
Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#show ip ospf database
OSPF Router process 100 with ID (100.100.100.72)
Router Link States (Area 0.0.0.0)
Link ID ADV Router Age Seq# CkSum Link count
10.100.12.57 10.100.12.57 930 0x80000003 0x90de 2
100.100.100.72 100.100.100.72 933 0x80000004 0x7592 2
Net Link States (Area 0.0.0.0)
Link ID ADV Router Age Seq# CkSum
10.100.10.72 100.100.100.72 933 0x80000001 0x0bef
Summary Link States (Area 0.0.0.0)
Link ID ADV Router Age Seq# CkSum Route
10.60.0.0 10.100.12.57 928 0x80000001 0x5108 10.60.0.0/24
71.87.120.0 10.100.12.57 928 0x80000001 0xc2c5 71.87.120.0/24
127.0.0.1 10.100.12.57 928 0x80000001 0x23fb 127.0.0.1/32
OSPF Database Fields
Table 1-7 explains the fields for each database entry.
 
Table 1-7: ospf database output details
Field
Description
Link ID
The meaning of this field depends on the type of Link-State Advertisement (LSA).
 
Type 1: Router LSA (depends on the type of network to which the router connects):
Point-to-point network: neighbor’s router ID.
Transit network: IP address of the designated router’s interface.
Stub network: IP network or subnet address
Virtual link: Neighbor’s Router ID.
 
Type 2: Network LSA: The IP address of the designated router’s interface.
Type 3: Summary LSA: The IP address of the network or subnet being advertised.
ADV Router
The ID of the router advertising the LSA.
Age
The age of the LSA.
Seq#
The sequence number of the LSA. This number increments each time a new instance of the LSA originates. This update helps other routers identify the most recent instance of the LSA.
CkSum
The fetch checksum of the complete LSA except the Age field.
Link count
Total number of links.
Route
Summary prefix address.
Last modified date: 07-13-2023