3Com Switch 8800 Configuration Guide Chapter 19 OSPF Configuration
19-29
Operation Command
Disable OSPF event debugging undo debugging ospf event
Enable OSPF LSA packet
debugging debugging ospf lsa-originate
Disable OSPF LSA packet
debugging undo debugging ospf lsa-originate
Enable SPF debugging of
OSPF debugging ospf spf
Disable SPF debugging of
OSPF undo debugging ospf spf
19.4 Typical OSPF Configuration Example

19.4.1 Configuring DR Election Based on OSPF Priority

I. Network requirements
Four Switch 8800s, Switch A, Switch B, Switch C and Switch D, which can perform the
router functions and run OSPF, are located on the same segment, as shown in the
following figure.
Configure Switch A and Switch C as DR and BDR respectively. The priority of Switch A
is 100, which is the highest on the network, so it is elected as the DR. Switch C has the
second highest priority, that is, 2, so it is elected as the BDR. The priority of Switch B is
0, which means that it cannot be elected as the DR. Switch D does not have a priority,
which takes 1 by default.
II. Network diagram
BDR
196.1.1.4/24
196.1.1.3/24
196.1.1.2/24
DR
Switch A Switch D
Switch B Switch C
1.1.1.1 4.4.4.4
3.3.3.3
2.2.2.2
196.1.1.1/24
Figure 19-3 Network diagram for configuring DR election based on OSPF priority