Field
LinkFlag
display ospf statistics
Use display ospf statistics to display OSPF statistics.
Syntax
display ospf [ process-id ] statistics [ error ]
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 statistics for all OSPF processes.
error: Displays error statistics. Without this keyword, the command displays OSPF packet, LSA, and route
statistics.
Examples
# Display OSPF statistics.
<Sysname> display ospf statistics
I/O statistics
Type
Hello
DB Description
Link-State Req
Link-State Update
Link-State Ack
OSPF Process 1 with Router ID 2.2.2.2
Statistics
Input
61
2
1
3
3
Description
Link flag:
•
I—The link is in initialization state.
•
P—The peer is the parent node.
•
C—The peer is the child node.
•
D—The link is to be deleted.
•
H—The next hop is changed.
•
V—When the peer node is deleted or added, the
peer node is not on the SPF tree or is deleted.
•
N—The link is newly added, and both end nodes
are on the SPF tree.
•
G—The link is on the area change list.
Output
122
3
1
3
2
132