Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
Chapter 3 OSPF Configuration Commands
3-23
View
Any view
Parameters
process-id
: OSPF process ID, in the range 1 to 65535.
verbose
: Displays detailed neighbor information.
interface-type interface-number
: Interface type and interface number.
neighbor-id
: Neighbor router ID.
Description
Use the
display ospf peer
command to display information about OSPF neighbors.
Note that:
If no OSPF process is specified, OSPF neighbor information of all OSPF processes is
displayed.
If an interface is specified, the neighbor on the interface is displayed.
If a neighbor ID is specified, detailed information about the neighbor is displayed,
If neither interface nor neighbor ID is specified, brief information about neighbors of the
specified OSPF process or all OSPF processes is displayed.
Examples
# Display detailed OSPF neighbor information.
<Sysname> display ospf peer verbose
OSPF Process 1 with Router ID 192.168.0.138
Neighbors
Area 0.0.0.1 interface 192.168.0.138(Vlan-interface1)'s neighbors
Router ID: 192.168.0.136 Address: 192.168.0.136 GR State: Normal
State: Full Mode: Nbr is Slave Priority: 1
DR: 192.168.0.138 BDR: 192.168.0.136 MTU: 0
Dead timer due in 40 sec
Neighbor is up for 00:12:59
Authentication Sequence: [ 0 ]
Neighbor state change count: 5
Table 3-10
Description on the fields of the
display ospf peer verbose
command
Field
Description
Router ID
Neighbor router ID
Address
Neighbor router address