< Home

display ospf lsdb history

Function

The display ospf lsdb history command displays historical information about a backup LSDB.

Format

display ospf [ process-id ] lsdb [ { router | network | asbr } [ link-state-id ] ] history history-id

Parameters

Parameter Description Value
process-id

Displays historical information about a backup LSDB in a specified OSPF process.

The value is an integer ranging from 1 to 65535.
router

Displays historical information about Router LSAs.

-
network

Displays historical information about Network LSAs.

-
asbr

Displays historical information about ASBR-summary LSAs.

-
link-state-id

Displays historical information about LSAs of a specified LSID.

The value is in dotted decimal notation.
history-id Displays historical information about the backup LSDB of the specified number. The value is 1 or 2.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If LSAs are flushed, run the display ospf lsdb history command. The command output includes the following information, which helps locate the flush source:

  • Historical information about LSDB backup records. If LSAs are flushed, the LSA information in the current LSDB is incomplete. In this case, you can use the backup LSDB for analysis.
  • All fragments of Router, Network, and ASBR-summary LSAs

Example

# Display historical information about a backup LSDB.

<sysname> display ospf lsdb history 1
Backup Time: 2015-11-12 17:44:30

          OSPF Process 1 with Router ID 1.1.1.1                                 
                  Link State Database                                           
                                                                                
                          Area: 0.0.0.0                                         
 Type      LinkState ID    AdvRouter          Age  Len   Sequence   Metric      
 Router    2.2.2.2         2.2.2.2             98  36    8000000B       1       
 Router    1.1.1.1         1.1.1.1             92  36    80000005       1       
 Network   10.1.1.2        2.2.2.2             98  32    80000004       0       
 Sum-Asbr  2.2.2.2         1.1.1.1             61  28    80000001       1
Table 1 Description of the display ospf lsdb history command output

Item

Description

Area

Area ID

Type

LSA type: Router, Network, or ASBR-summary

LinkState ID

Link state ID in the LSA header

AdvRouter

Router that advertised or generated the LSA

Age

Aging time of the LSA

Len

LSA length, in bytes

Sequence

Sequence number in the LSA header

Metric

Cost

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >