3Com Switch 7750 Configuration Guide Guide
OSPF Configuration Example 307
OSPF Configuration
Example
Configuring DR Election
Based on OSPF Priority
Network requirements
Four Switch 7750 Family switches, SwitchA, SwitchB, SwitchC, and SwitchD,
which run OSPF, are on the same segment, as shown in
Figure 70. Perform proper
configurations to make SwitchA and SwitchC become DR and BDR respectively.
Set the priority of SwitchA to 100 (the highest on the network) so that SwitchA is
elected as the DR. Set the priority of SwitchC to 2 (the second highest priority) so
that SwitchC is elected as the BDR. Set the priority of SwitchB to 0 so that SwitchB
cannot be elected as the DR. No priority is set for SwitchD so it has a default
priority of 1.
Table 233 Display configuration
Operation Command Description
Display brief information
about one or all OSPF
processes
display ospf [ process-id ]
brief
You can execute the display
command in any view.
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 |
verbose ] ] [
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 | verbose ]
Display OSPF errors
display ospf [ process-id ]
error
Display OSPF ASBR summary
information
display ospf [ process-id ]
asbr-summary [ ip-address
mask ]
Reset one or all OSPF
processes
reset ospf [ statistics ] { all |
process-id }
Use the reset command in
user view.