Command Manual – Routing Protocol 
Quidway S3900 Series Ethernet Switches-Release 1510  Chapter 3  OSPF Configuration Commands
 
Huawei Technologies Proprietary 
3-25 
Use the display ospf peer brief command to display the brief information, including 
router ID, interface, and state, about every OSPF peer. 
Use the display ospf peer statistics command to display the statistics of every OSPF 
peer, namely, the number of peers in various states in every area. 
Example 
# Display the information about OSPF peer.  
<Quidway> display ospf peer 
OSPF Process 1 with Router ID 1.1.1.1 
Neighbors 
Area 0.0.0.0 interface 10.153.17.88(Vlan-interface1)'s neighbor(s) 
  RouterID: 2.2.2.2         Address: 10.153.17.89 
        State: Full  Mode: Nbr is Master  Priority: 1 
        DR: 10.153.17.89  BDR: 10.153.17.88 
        Dead timer expires in 31s 
        Neighbor has been up for 01:14:14 
Table 3-10 Description on the fields of the display ospf peer command 
Field  Description 
RouterID  Router ID of neighbor router 
Address 
Address of the interface, through which 
neighbor router communicates with the 
router  
State  State of adjacency relation 
Mode 
Master/Slave mode formed by 
negotiation in exchanging DD packet 
Priority  Priority of DR/BDR for neighbor election 
DR  IP address of the interface of elected DR 
BDR 
IP address of the interface of elected 
BDR 
Dead timer expires in 31s 
If no hello packet is received from the 
peer within this interval, the peer will be 
considered to be invalid.  
Neighbor has been up for 01:14:14  Time of neighbor connection 
 
# Display the brief information about every peer. 
<Quidway> display ospf peer brief 
                  OSPF Process 1 with Router ID 1.1.1.1 
                         Neighbor Brief Information 
Area 0.0.0.1: