132
Field Description
LinkFlag
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.
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
OSPF Process 1 with Router ID 2.2.2.2
Statistics
I/O statistics
Type Input Output
Hello 61 122
DB Description 2 3
Link-State Req 1 1
Link-State Update 3 3
Link-State Ack 3 2