120
display ospf peer
Use display ospf peer to display information about OSPF neighbors.
Syntax
display ospf [ process-id ] peer [ verbose ] [ interface-type interface-number ] [ neighbor-id ] [ standby
slot slot-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
process-id: Specifies an OSPF process by ID in the range of 1 to 65535. Without this argument, the
command displays OSPF neighbor information for all OSPF processes.
verbose: Displays detailed neighbor information. Without this keyword, the command displays brief
OSPF neighbor information.
interface-type interface-number: Specifies an interface by its type and number. Without this argument,
the command displays the neighbor information for all interfaces.
neighbor-id: Specifies a neighbor router ID. Without this argument, the command displays all neighbor
information.
standby slot slot-number: Displays backup OSPF neighbor information for an IRF member device.
Without this option, the command displays OSPF neighbor information.
Examples
# Display detailed OSPF neighbor information.
<Sysname> display ospf peer verbose
OSPF Process 1 with Router ID 1.1.1.1
Neighbors
Area 0.0.0.0 interface 1.1.1.1(Vlan-interface1)'s neighbors
Router ID: 1.1.1.2 Address: 1.1.1.2 GR state: Normal
State: Full Mode: Nbr is master Priority: 1
DR: 1.1.1.2 BDR: 1.1.1.1 MTU: 0
Options is 0x02 (-|-|-|-|-|-|E|-)
Dead timer due in 33 sec
Neighbor is up for 02:03:35
Authentication Sequence: [ 0 ]
Neighbor state change count: 6
BFD status: Disabled
Sham link 11.11.11.11 -> 22.22.22.22's neighbor in area 0.0.0.1
Router ID: 22.22.22.22 Address: 22.22.22.22
State: Full Mode: Nbr is master Priority: 1