123
Field Description
State
Neighbor state: Down, Init, Attempt, 2-Way, Exstart, Exchange,
Loading, or Full.
Sham link 11.11.11.11 ->
22.22.22.22
Sham link from 11.11.11.11 to 22.22.22.22.
display ospf peer statistics
Use
display ospf peer statistics
to display OSPF neighbor statistics.
Syntax
display ospf
[
process-id
]
peer
statistics
[
standby slot
slot-number
]
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 neighbor statistics for all OSPF processes.
standby slot
slot-number
: Displays backup OSPF neighbor statistics for an IRF member device. Without
this option, the command displays OSPF neighbor statistics.
Examples
# Display OSPF neighbor statistics.
<Sysname> display ospf peer statistics
OSPF Process 1 with Router ID 10.3.1.1
Neighbor Statistics
Area ID Down Attempt Init 2-Way ExStart Exchange Loading Full Total
0.0.0.0 0 0 0 0 0 0 0 1 1
0.0.0.2 0 0 0 0 0 0 0 1 1
Total 0 0 0 0 0 0 0 2 2
Sham links' neighbors (Total: 1):
Down: 0, Init: 0, 2-Way: 0, ExStart: 0, Exchange: 0, Loading: 0, Full: 1
Table 40
Command output
Field Description
Area ID
The state statistics information of all the routers in the area to which the router belongs
is displayed.
Down
Number of neighboring routers in Down state in the same area.
Attempt
Number of neighboring routers in Attempt state in the same area.
Init
Number of neighboring routers in Init state in the same area.