H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 4 OSPF Configuration
4-25
4.8 Displaying and Maintaining OSPF Configuration
To do... Use the command... Remarks
Display brief information
about one or all OSPF
processes
display ospf [ process-id ] brief
Display OSPF statistics
display ospf [ process-id ]
cumulative
Display OSPF LSDB
information
display ospf [ process-id ] [ area-id ]
lsdb [ brief | [ asbr | ase | network |
nssa | router | summary
[ ip-address ] ] [ originate-router
ip-address | self-originate ] ]
Display OSPF peer
information
display ospf [ process-id ] peer [ brief
| statistics ]
Display OSPF next hop
information
display ospf [ process-id ] nexthop
Display OSPF routing
table
display ospf [ process-id ] routing
Display OSPF virtual links display ospf [ process-id ] vlink
Display OSPF request list
display ospf [ process-id ]
request-queue
Display OSPF
retransmission list
display ospf [ process-id ]
retrans-queue
Display the information
about OSPF ABR and
ASBR
display ospf [ process-id ] abr-asbr
Display OSPF interface
information
display ospf [ process-id ] interface
interface-type interface-number
Display OSPF errors display ospf [ process-id ] error
Display OSPF ASBR
summary information
display ospf [ process-id ]
asbr-summary [ ip-address mask ]
Available in
any view
Reset one or all OSPF
processes
reset ospf [ statistics ] { all |
process-id }
Available in
user view
4.9 OSPF Configuration Example
4.9.1 Configuring DR Election Based on OSPF Priority
I. Network requirements
Four S7500 switches, Switch A, Switch B, Switch C, and Switch D, which run OSPF,
are on the same segment, as shown in
Figure 4-3. Perform proper configurations to