To display lists of information related to the Open Shortest Path First (OSPF) database for a specific router, use the
show ospf database
command in XR EXEC mode.
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [adv-router ip-address]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [asbr-summary] [link-state-id]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [asbr-summary] [link-state-id] [internal] [adv-router [ip-address] ]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [asbr-summary] [link-state-id] [internal] [self-originate]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [database-summary]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [external] [link-state-id]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [external] [link-state-id] [internal] [adv-router [ip-address] ]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [external] [link-state-id] [internal] [self-originate]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [network] [link-state-id]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [network] [link-state-id] [internal] [adv-router [ip-address] ]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [network] [link-state-id] [internal] [self-originate]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [nssa-external] [link-state-id]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [nssa-external] [link-state-id] [internal] [adv-router [ip-address] ]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [nssa-external] [link-state-id] [internal] [self-originate]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [opaque-area] [link-state-id]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [opaque-area] [link-state-id] [internal] [adv-router] [ip-address]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [opaque-area] [link-state-id] [internal] [self-originate]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [opaque-as] [link-state-id]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [opaque-as] [link-state-id] [internal] [adv-router [ip-address] ]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [opaque-as] [link-state-id] [internal] [self-originate]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [opaque-link] [link-state-id]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [opaque-link] [link-state-id] [internal] [adv-router [ip-address] ]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [opaque-link] [link-state-id] [internal] [self-originate]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [router] [link-state-id]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [router] [internal] [adv-router [ip-address] ]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [router] [internal] [self-originate] [link-state-id]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [self-originate]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [summary] [link-state-id]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [summary] [link-state-id] [internal] [adv-router [ip-address] ]
show ospf [process-name] [vrf {vrf-name | all}] [area-id] database [summary] [link-state-id] [internal] [self-originate] [link-state-id]
Syntax Description
process-name
|
(Optional) OSPF process name that uniquely identifies an OSPF routing process. The process name is any alphanumeric string
no longer than 40 characters. If this argument is included, only information for the specified routing process is included.
|
vrf
|
(Optional) Specifies an OSPF VPN routing and forwarding (VRF) instance.
|
vrf-name
|
(Optional) Name of the OSPF VRF. The vrf-name argument can be specified as an arbitrary string. The strings “default” and “all” are reserved VRF names.
|
all
|
(Optional) Specifies all OSPF VRF instances.
|
area-id
|
(Optional) Area number used to define the particular area.
|
adv-router
ip-address
|
(Optional) Displays all LSAs of the specified router.
|
asbr-summary
|
(Optional) Displays information only about the Autonomous System Boundary Router (ASBR) summary LSAs.
|
link-state-id
|
(Optional) Portion of the Internet environment that is being described by the advertisement. The value entered depends on
the link-state type of the advertisement. It must be entered in the form of an IP address.
When the link-state advertisement (LSA) is describing a network, the link-state-id can take one of two forms:
- The network IP address (as in Type 3 summary link advertisements and in autonomous system external link advertisements).
- A derived address obtained from the link-state ID.
Note
|
Masking the link-state ID of a network link advertisement with the subnet mask of the network yields the IP address of the
network.
|
When the LSA is describing a router, the link-state ID is always the OSPF router ID of the described router.
When an autonomous system external advertisement (LS Type = 5) is describing a default route, its link-state ID is set to
Default Destination (0.0.0.0).
|
internal
|
(Optional) Displays internal LSA information.
|
self-originate
|
(Optional) Displays only self-originated LSAs (from the local router).
|
database-summary
|
(Optional) Displays how many of each type of LSA for each area there are in the database and the total.
|
external
|
(Optional) Displays information only about the external LSAs.
|
network
|
(Optional) Displays information only about the network LSAs.
|
nssa-external
|
(Optional) Displays information only about the not-so-stubby area (NSSA) external LSAs.
|
opaque-area
|
(Optional) Displays information about the opaque Type 10 LSAs. Type 10 denotes an area-local scope. Refer to RFC 2370 for
more information on the opaque LSA options.
|
opaque-as
|
(Optional) Displays information about the opaque Type 11 LSAs. Type 11 denotes that the LSA is flooded throughout the autonomous
system.
|
opaque-link
|
(Optional) Displays information about the opaque Type 9 LSAs. Type 9 denotes a link-local scope.
|
router
|
(Optional) Displays information only about the router LSAs.
|
summary
|
(Optional) Displays information only about the summary LSAs.
|
detail
|
(Optional) Displays information about the number of LSA counts per router.
|
Command Default
IPv4 and unicast address prefixes
Command Modes
XR EXEC mode
Command History
Release
|
Modification
|
Release 7.0.12
|
This command was introduced.
|
Usage Guidelines
The various forms of the
show ospf database
command deliver information about different OSPF link-state advertisements. This command can be used to examine the link-state
database (LSD) and its contents. Each router participating in an area having identical database entries pertaining to that
area (with the exception of LSAs that are being flooded). Numerous options (such as
network
and
router
) are used to display portions of the database.
Task ID
Task ID
|
Operations
|
ospf
|
read
|
Examples
The following is sample output from the
show ospf database
command when no arguments or keywords are used:
RP/0/RP0/CPU0:router# show ospf database
OSPF Router with ID (172.20.1.11) (Process ID 1)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count
172.20.1.8 172.20.1.8 1381 0x8000010D 0xEF60 2
172.20.1.11 172.20.1.11 1460 0x800002FE 0xEB3D 4
172.20.1.12 172.20.1.12 2027 0x80000090 0x875D 3
172.20.1.27 172.20.1.27 1323 0x800001D6 0x12CC 3
Net Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
172.22.1.27 172.20.1.27 1323 0x8000005B 0xA8EE
172.22.1.11 172.20.1.11 1461 0x8000005B 0x7AC
Type-10 Opaque Link Area Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Opaque ID
10.0.0.0 172.20.1.11 1461 0x800002C8 0x8483 0
10.0.0.0 172.20.1.12 2027 0x80000080 0xF858 0
10.0.0.0 172.20.1.27 1323 0x800001BC 0x919B 0
10.0.0.1 172.20.1.11 1461 0x8000005E 0x5B43 1
This table describes the significant fields shown in the display.
Table 4. show ospf database Field Descriptions
Field
|
Description
|
Link ID
|
Router ID number.
|
ADV Router
|
ID of the advertising router.
|
Age
|
Link-state age.
|
Seq#
|
Link-state sequence number (detects old or duplicate LSAs).
|
Checksum
|
Fletcher checksum of the complete contents of the LSA.
|
Link count
|
Number of interfaces detected for the router.
|
Opaque ID
|
Opaque LSA ID number.
|
The following is sample output from the
show ospf database
command with the
asbr-summary
keyword:
RP/0/RSP0RP0/CPU0:router# show ospf database asbr-summary
OSPF Router with ID (192.168.0.1) (Process ID 300)
Summary ASB Link States (Area 0.0.0.0)
LS age: 1463
Options: (No TOS-capability)
LS Type: Summary Links (AS Boundary Router)
Link State ID: 172.17.245.1 (AS Boundary Router address)
Advertising Router: 172.17.241.5
LS Seq Number: 80000072
Checksum: 0x3548
Length: 28
Network Mask: /0
TOS: 0 Metric: 1
This table describes the significant fields shown in the display.
Table 5. show ospf database asbr-summary Field Descriptions
Field
|
Description
|
OSPF Router with ID
|
Router ID number.
|
Process ID
|
OSPF process name.
|
LS age
|
Link-state age.
|
Options
|
Type of service options (Type 0 only).
|
LS Type
|
Link-state type.
|
Link State ID
|
Link-state ID (ASBR).
|
Advertising Router
|
ID of the advertising router.
|
LS Seq Number
|
Link-state sequence (detects old or duplicate LSAs).
|
Checksum
|
Link-state checksum (Fletcher checksum of the complete contents of the LSA).
|
Length
|
Length (in bytes) of the LSAs.
|
Network Mask
|
Network mask implemented.
|
TOS
|
Type of service.
|
Metric
|
Link-state metric.
|
The following is sample output from the
show ospf database
command with the
external
keyword:
RP/0/RP0/CPU0:router# show ospf database external
OSPF Router with ID (192.168.0.1) (Process ID 300)
Type-5 AS External Link States
LS age: 280
Options: (No TOS-capability)
LS Type: AS External Link
Link State ID: 172.17.0.0 (External Network Number)
Advertising Router: 172.17.70.6
LS Seq Number: 80000AFD
Checksum: 0xC3A
Length: 36
Network Mask: 255.255.0.0
Metric Type: 2 (Larger than any link state path)
TOS: 0
Metric: 1
Forward Address: 0.0.0.0
External Route Tag: 0
This table describes the significant fields shown in the display.
Table 6. show ospf database external Field Descriptions
Field
|
Description
|
OSPF Router with Router ID
|
Router ID number.
|
Process ID
|
OSPF process name.
|
LS age
|
Link-state age.
|
Options
|
Type of service options (Type 0 only).
|
LS Type
|
Link-state type.
|
Link State ID
|
Link-state ID (external network number).
|
Advertising Router
|
ID of the advertising router.
|
LS Seq Number
|
Link-state sequence number (detects old or duplicate LSAs).
|
Checksum
|
Link-state checksum (Fletcher checksum of the complete contents of the LSA).
|
Length
|
Length (in bytes) of the LSA.
|
Network Mask
|
Network mask implemented.
|
Metric Type
|
External type.
|
TOS
|
Type of service.
|
Metric
|
Link-state metric.
|
Forward Address
|
Forwarding address. Data traffic for the advertised destination is forwarded to this address. If the forwarding address is
set to 0.0.0.0, data traffic is forwarded instead to the originator of the advertisement.
|
External Route Tag
|
External route tag, a 32-bit field attached to each external route. This tag is not used by the OSPF protocol itself.
|
The following is sample output from the
show ospf database
command with the
network
keyword:
RP/0/RP0/CPU0:router# show ospf database network
OSPF Router with ID (192.168.0.1) (Process ID 300)
Net Link States (Area 0.0.0.0)
LS age: 1367
Options: (No TOS-capability)
LS Type: Network Links
Link State ID: 172.23.1.3 (address of Designated Router)
Advertising Router: 192.168.0.1
LS Seq Number: 800000E7
Checksum: 0x1229
Length: 52
Network Mask: /24
Attached Router: 192.168.0.1
Attached Router: 172.23.241.5
Attached Router: 172.23.1.1
Attached Router: 172.23.54.5
Attached Router: 172.23.1.5
This table describes the significant fields shown in the display.
Table 7. show ospf database network Field Descriptions
Field
|
Description
|
OSPF Router with ID
|
Router ID number.
|
Process ID
|
OSPF process name.
|
LS age
|
Link-state age.
|
Options
|
Type of service options (Type 0 only).
|
LS Type
|
Link-state type.
|
Link State ID
|
Link-state ID of the designated router.
|
Advertising Router
|
ID of the advertising router.
|
LS Seq Number
|
Link-state sequence number (detects old or duplicate LSAs).
|
Checksum
|
Link-state checksum (Fletcher checksum of the complete contents of the LSA).
|
Length
|
Length (in bytes) of the LSA.
|
Network Mask
|
Network mask implemented.
|
Attached Router
|
List of routers attached to the network, by IP address.
|
The following is sample output, carrying Multiprotocol Label Switching traffic engineering (MPLS TE) specification information,
from the
show ospf database
command with the
opaque-area
keyword and a
link-state-id
of adv-router:
RP/0/RP0/CPU0:router# show ospf database opaque-area adv-router 172.20.1.12
OSPF Router with ID (172.20.1.11) (Process ID 1)
Type-10 Opaque Link Area Link States (Area 0)
LS age: 224
Options: (No TOS-capability, DC)
LS Type: Opaque Area Link
Link State ID: 1.0.0.0
Opaque Type: 1
Opaque ID: 0
Advertising Router: 172.20.1.12
LS Seq Number: 80000081
Checksum: 0xF659
Length: 132
Fragment number : 0
MPLS TE router ID : 172.20.1.12
Link connected to Point-to-Point network
Link ID : 172.20.1.11
Interface Address : 172.21.1.12
Neighbor Address : 172.21.1.11
Admin Metric : 10
Maximum bandwidth : 193000
Maximum reservable bandwidth : 125000
Number of Priority : 8
Priority 0 : 125000 Priority 1 : 125000
Priority 2 : 125000 Priority 3 : 125000
Priority 4 : 125000 Priority 5 : 125000
Priority 6 : 125000 Priority 7 : 100000
Affinity Bit : 0x0
Number of Links : 1
The following is the sample output from the show ospf database opaque-area command displaying the extended link LSA information.
RP/0/RP0/CPU0:router# show ospf database opaque-area 4.0.0.0
LS age: 361
Options: (No TOS-capability, DC)
LS Type: Opaque Area Link
Link State ID: 8.0.0.40
Opaque Type: 8
Opaque ID: 40
Advertising Router: 100.0.0.3
LS Seq Number: 8000012e
Checksum: 0xeab4
Length: 92
Extended Link TLV: Length: 68
Link-type : 2
Link ID : 100.0.9.4
Link Data : 100.0.9.3
LAN Adj sub-TLV: Length: 16
Flags : 0x0
MTID : 0
Weight : 0
Neighbor ID: 100.0.0.1
SID/Label sub-TLV: Length: 3
SID : 24001
LAN Adj sub-TLV: Length: 16
Flags : 0x0
MTID : 0
Weight : 0
Neighbor ID: 100.0.0.2
SID/Label sub-TLV: Length: 3
SID : 24000
Adj sub-TLV: Length: 12
Flags : 0x0
MTID : 0
Weight : 0
SID/Label sub-TLV: Length: 3
SID : 24002
The following is sample output from the
show ospf database
command that displays a Type 10, Router Information LSA:
RP/0/RP0/CPU0:router# show ospf database opaque-area 4.0.0.0
OSPF Router with ID (3.3.3.3) (Process ID orange)
Type-10 Opaque Link Area Link States (Area 0)
LS age: 105
Options: (No TOS-capability, DC)
LS Type: Opaque Area Link
Link State ID: 4.0.0.0
Opaque Type: 4
Opaque ID: 0
Advertising Router: 3.3.3.3
LS Seq Number: 80000052
Checksum: 0x34e2
Length: 52
Fragment number: 0
Router Information TLV: Length: 4
Capabilities:
Graceful Restart Helper Capable
Traffic Engineering enabled area
All capability bits: 0x50000000
PCE Discovery TLV: Length: 20
IPv4 Address: 3.3.3.3
PCE Scope: 0x20000000
Compute Capabilities:
Inter-area default (Rd-bit)
Compute Preferences:
Intra-area: 0 Inter-area: 0
Inter-AS: 0 Inter-layer: 0
This table describes the significant fields shown in the display.
Table 8. show ospf database opaque-area Field Descriptions
Field
|
Description
|
OSPF Router with ID
|
Router ID number.
|
Process ID
|
OSPF process name.
|
LS age
|
Link-state age.
|
Options
|
Type of service options (Type 0 only).
|
LS Type
|
Link-state type.
|
Link State ID
|
Link-state ID.
|
Opaque Type
|
Opaque link-state type.
|
Opaque ID
|
Opaque ID number.
|
Advertising Router
|
ID of the advertising router.
|
LS Seq Number
|
Link-state sequence (detects old or duplicate LSAs).
|
Checksum
|
Link-state checksum (Fletcher checksum of the complete contents of the LSA).
|
Length
|
Length (in bytes) of the LSA.
|
Fragment number
|
Arbitrary value used to maintain multiple traffic engineering LSAs.
|
Link ID
|
Link ID number.
|
Interface Address
|
ID address of the interface.
|
Neighbor Address
|
IP address of the neighbor.
|
Admin Metric
|
Administrative metric value used by MPLS TE.
|
Maximum bandwidth
|
Specifies maximum bandwidth (in kbps).
|
Maximum reservable bandwidth
|
Specifies maximum reservable bandwidth (in kbps).
|
Number of Priority
|
Priority number.
|
Affinity Bit
|
Used by MPLS TE.
|
Router Information TLV
|
Router capabilities are advertised in this TLV.
|
Capabilities
|
Some router capabilities include stub router, traffic engineering, graceful restart, and graceful restart helper.
|
PCE Discovery TLV
|
PCE address and capability information is advertised in this TLV.
|
IPv4 Address
|
Configured PCE IPv4 address.
|
PCE Scope
|
Computation capabilities of the PCE.
|
Compute Capabilities
|
Compute capabilities and preferences of the PCE.
|
Inter-area default (RD-bit)
|
PCE compute capabilities such as intra-area, inter-area, inter-area default, inter-AS, inter-AS default and inter-layer.
|
Compute Preferences
|
Order or preference of path computation that includes intra-area, inter-area, inter-AS, and inter-layer preferences.
|
The following is sample output from the
show ospf database
command with the
router
keyword:
RP/0/RP0/CPU0:router# show ospf database router
OSPF Router with ID (192.168.0.1) (Process ID 300)
Router Link States (Area 0.0.0.0)
LS age: 1176
Options: (No TOS-capability)
LS Type: Router Links
Link State ID: 172.23.21.6
Advertising Router: 172.23.21.6
LS Seq Number: 80002CF6
Checksum: 0x73B7
Length: 120
AS Boundary Router
Number of Links: 8
Link connected to: another Router (point-to-point)
(Link ID) Neighboring Router ID: 172.23.21.5
(Link Data) Router Interface address: 172.23.21.6
Number of TOS metrics: 0
TOS 0 Metrics: 2
This table describes the significant fields shown in the display.
Table 9. show ospf database router Field Descriptions
Field
|
Description
|
OSPF Router with ID
|
Router ID number.
|
Process ID
|
OSPF process name.
|
LS age
|
Link-state age.
|
Options
|
Type of service options (Type 0 only).
|
LS Type
|
Link-state type.
|
Link State ID
|
Link-state ID.
|
Advertising Router
|
ID of the advertising router.
|
LS Seq Number
|
Link-state sequence (detects old or duplicate LSAs).
|
Checksum
|
Link-state checksum (Fletcher checksum of the complete contents of the LSA).
|
Length
|
Length (in bytes) of the LSA.
|
AS Boundary Router
|
Definition of router type.
|
Number of Links
|
Number of active links.
|
Link ID
|
Link type.
|
Link Data
|
Router interface address.
|
TOS
|
Type of service metric (Type 0 only).
|
The following is sample output from
show ospf database
command with the
summary
keyword:
RP/0/RP0/CPU0:router# show ospf database summary
OSPF Router with ID (192.168.0.1) (Process ID 300)
Summary Net Link States (Area 0.0.0.0)
LS age: 1401
Options: (No TOS-capability)
LS Type: Summary Links (Network)
Link State ID: 172.23.240.0 (Summary Network Number)
Advertising Router: 172.23.241.5
LS Seq Number: 80000072
Checksum: 0x84FF
Length: 28
Network Mask: /24
TOS: 0 Metric: 1
This table describes the significant fields shown in the display.
Table 10. show ospf database summary Field Descriptions
Field
|
Description
|
OSPF Router with ID
|
Router ID number.
|
Process ID
|
OSPF process name.
|
LS age
|
Link-state age.
|
Options
|
Type of service options (Type 0 only).
|
LS Type
|
Link-state type.
|
Link State ID
|
Link-state ID (summary network number).
|
Advertising Router
|
ID of the advertising router.
|
LS Seq Number
|
Link-state sequence (detects old or duplicate LSAs).
|
Checksum
|
Link-state checksum (Fletcher checksum of the complete contents of the LSA).
|
Length
|
Length (in bytes) of the LSA.
|
Network Mask
|
Network mask implemented.
|
TOS
|
Type of service.
|
Metric
|
Link-state metric.
|
The following is sample output from
show ospf database
command with the
database-summary
keyword:
RP/0/RP0/CPU0:router# show ospf database database-summary
OSPF Router with ID (172.19.65.21) (Process ID 1)
Area 0 database summary
LSA Type Count Delete Maxage
Router 2 0 0
Network 1 0 0
Summary Net 2 0 0
Summary ASBR 0 0 0
Type-7 Ext 0 0 0
Opaque Link 0 0 0
Opaque Area 0 0 0
Subtotal 5 0 0
Process 1 database summary
LSA Type Count Delete Maxage
Router 2 0 0
Network 1 0 0
Summary Net 2 0 0
Summary ASBR 0 0 0
Type-7 Ext 0 0 0
Opaque Link 0 0 0
Opaque Area 0 0 0
Type-5 Ext 2 0 0
Opaque AS 0 0 0
Total 7 0 0
The show ospf database database-summary with the detail keyword displays the number of LSA counts per router:
Router#show ospf database database-summary detail
Tue Dec 6 19:20:34.090 IST
OSPF Router with ID (192.168.0.1) (Process ID 1)
Router 192.168.0.4 LSA summary
LSA Type Count Delete Maxage
Router 0 0 0
Network 0 0 0
Summary Net 0 0 0
Summary ASBR 0 0 0
Type-5 Ext 697 0 0
Type-7 Ext 0 0 0
Opaque Link 0 0 0
Opaque Area 0 0 0
Opaque AS 6 0 0
Total 703 0 0
Router 192.168.0.1 LSA summary
LSA Type Count Delete Maxage
Router 1 0 0
Network 0 0 0
Summary Net 0 0 0
Summary ASBR 0 0 0
Type-5 Ext 0 0 0
Type-7 Ext 0 0 0
Opaque Link 0 0 0
Opaque Area 64 0 0
Opaque AS 0 0 0
Total 65 0 0
Router 192.168.0.2 LSA summary
LSA Type Count Delete Maxage
Router 1 0 0
Network 0 0 0
Summary Net 21 0 0
Summary ASBR 2 0 0
Type-5 Ext 0 0 0
Type-7 Ext 0 0 0
Opaque Link 0 0 0
Opaque Area 21 0 0
Opaque AS 0 0 0
Total 45 0 0
Router 192.168.0.6 LSA summary
LSA Type Count Delete Maxage
Router 1 0 0
Network 0 0 0
Summary Net 21 0 0
Summary ASBR 2 0 0
Type-5 Ext 0 0 0
Type-7 Ext 0 0 0
Opaque Link 0 0 0
Opaque Area 19 0 0
Opaque AS 0 0 0
Total 43 0 0
Router 192.168.0.3 LSA summary
LSA Type Count Delete Maxage
Router 0 0 0
Network 0 0 0
Summary Net 0 0 0
Summary ASBR 0 0 0
Type-5 Ext 7 0 0
Type-7 Ext 0 0 0
Opaque Link 0 0 0
Opaque Area 0 0 0
Opaque AS 6 0 0
Total 13 0 0
The show ospf database database-summary with the adv-routerrouter ID keyword displays the router information and the LSAs received from a particular router:
Router#show ospf database database-summary adv-router 192.168.0.4
Tue Dec 6 19:21:04.549 IST
OSPF Router with ID (192.168.0.1) (Process ID 1)
Router 192.168.0.4 LSA summary
LSA Type Count Delete Maxage
Router 0 0 0
Network 0 0 0
Summary Net 0 0 0
Summary ASBR 0 0 0
Type-5 Ext 697 0 0
Type-7 Ext 0 0 0
Opaque Link 0 0 0
Opaque Area 0 0 0
Opaque AS 6 0 0
Total 703 0 0
This table describes the significant fields shown in the display.
Table 11. show ospf database database-summary Field Descriptions
Field
|
Description
|
LSA Type
|
Link-state type.
|
Count
|
Number of advertisements in that area for each link-state type.
|
Delete
|
Number of LSAs that are marked “Deleted” in that area.
|
Maxage
|
Number of LSAs that are marked “Maxaged” in that area.
|