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
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
Date
2012-06-27 15:28:26 0.95
2012-06-27 15:28:23 0.2
2012-06-27 15:28:19 0
2012-06-27 15:28:19 0
2012-06-27 15:28:19 0.3
2012-06-27 15:28:12 0
2012-06-27 15:28:11 0
2012-06-27 15:28:11 0
Table 29 Command output
Field
Date/Time
Duration
Intra
Inter
External
OSPF Process 1 with Router ID 1.1.1.2
SPF log
Time
Duration
Description
Time when the route calculation starts.
Duration of the route calculation, in seconds.
Number of intra-area routes newly installed to the IP routing table.
Number of inter-area routes newly installed to the IP routing table.
Number of external routes newly installed to the IP routing table.
Intra Inter External Reason
1
1
10000
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
108
Intra-area LSA
Area 0 full neighbor number
Intra-area LSA
external LSA
Intra-area LSA
Intra-area LSA
Routing policy
Intra-area LSA