display ospf event-log spf

Use display ospf event-log spf to display OSPF route calculation log information for a process.

Syntax

display ospf [ process-id ] event-log spf

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

process-id: Specifies an OSPF process by its ID in the range of 1 to 65535. Without this argument, the command displays OSPF route calculation log information for all processes.

Usage guidelines

The route statistics are the number of routes newly installed to the IP routing table.

Examples

# Display OSPF route calculation log information for all processes.

<Sysname> display ospf event-log spf

          OSPF Process 1 with Router ID 1.1.1.2
                  SPF log

Date       Time     Duration   Intra Inter External Reason
2012-06-27 15:28:26 0.95       1     1     10000    Intra-area LSA
2012-06-27 15:28:23 0.2        0     0     0        Area 0 full neighbor number
2012-06-27 15:28:19 0          0     0     0        Intra-area LSA
2012-06-27 15:28:19 0          0     0     0        external LSA
2012-06-27 15:28:19 0.3        0     0     0        Intra-area LSA
2012-06-27 15:28:12 0          1     0     0        Intra-area LSA
2012-06-27 15:28:11 0          0     0     0        Routing policy
2012-06-27 15:28:11 0          0     0     0        Intra-area LSA

Table 29: Command output

Field

Description

Date/Time

Time when the route calculation starts.

Duration

Duration of the route calculation, in seconds.

Intra

Number of intra-area routes newly installed to the IP routing table.

Inter

Number of inter-area routes newly installed to the IP routing table.

External

Number of external routes newly installed to the IP routing table.

Reason

Reasons why the route calculation is performed:

  • Intra-area LSA—Intra-area LSA changes.

  • Inter-area LSA—Inter-area LSA changes.

  • External LSA—External LSA changes.

  • Configuration—Configuration changes.

  • Area 0 full neighbor number—Number of FULL-state neighbors in Area 0 changes.

  • Area 0 up interface number—Number of interfaces in up state in Area 0 changes.

  • LSDB overflow state—Overflow status changes.

  • AS number—AS number changes.

  • ABR summarization—ABR summarization changes.

  • GR end—GR ends.

  • Routing policy—Routing policy changes.

  • Others—Other reasons.