1124
C
76: OSPF C
HAPTER
display ospf peer
Syntax
View
Parameters
Description
Examples
C
ONFIGURATION
OMMANDS
display ospf [ process-id ] peer [ verbose | [ interface-type interface-number ]
[ neighbor-id ] ]
Any view
process-id: OSPF process ID, in the range 1 to 65535.
verbose: Displays detailed neighbor information.
interface-type interface-number: Interface type and number
neighbor-id: Neighbor router ID.
Use the
display ospf peer
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 process is displayed.
# Display detailed OSPF neighbor information.
<Sysname> display ospf peer verbose
OSPF Process 1 with Router ID 1.1.1.1
Area 0.0.0.0 interface 1.1.1.1(Ethernet0/1/0)'s neighbors
Router ID: 1.1.1.2
State: Full
DR: 1.1.1.2
Dead timer due in 33
Neighbor is up for 02:03:35
Authentication Sequence: [ 0 ]
Neighbor state change count: 6
Table 271 Description on the fields of the display ospf peer verbose command
Field
Area
Interface
Router ID
Address
GR State
command to display information about OSPF
Neighbors
Address: 1.1.1.2
Mode: Nbr is Master
Priority: 1
BDR: 1.1.1.1
MTU: 0
sec
Description
Area of the neighbor
Interface connected to neighbor
Neighbor router ID
Neighbor router address
GR state
GR State: Normal