Operation Manual – Routing Protocol
H3C S5600 Series Ethernet Switches
Chapter 4 OSPF Configuration
4-31
4.9 OSPF Configuration Examples
4.9.1 Configuring DR/BDR Election
I. Network requirements
Use OSPF to realize interconnection between devices in a broadcast network.
Devices with higher performance should become the DR and BDR to improve
network performance. Devices with lower performance are forbidden to take part in
DB/BDR election.
Based on the customer requirements and networking environment, assign proper
priorities to interfaces.
II. Network diagram
DR
BDR
Switch A
Switch D
Switch C
Switch B
Vlan-int1
Vlan-int1
Vlan-int1
Vlan-int1
Device Interface IP
address
Router ID
Interface priority
Switch A
Vlan-int1
196.1.1.1/24
1.1.1.1 100
Switch B
Vlan-int1
196.1.1.2/24
2.2.2.2 0
Switch C
Vlan-int1
196.1.1.3/24
3.3.3.3 2
Switch D
Vlan-int1
196.1.1.4/24
4.4.4.4 1
Figure 4-8
Network diagram for DR/BDR election
III. Configuration procedure
# Configure Switch A.
<SwitchA> system-view
[SwitchA] interface Vlan-interface 1
[SwitchA-Vlan-interface1] ip address 196.1.1.1 255.255.255.0
[SwitchA-Vlan-interface1] ospf dr-priority 100
[SwitchA-Vlan-interface1] quit
[SwitchA] router id 1.1.1.1
[SwitchA] ospf
[SwitchA-ospf-1] area 0
[SwitchA-ospf-1-area-0.0.0.0] network 196.1.1.0 0.0.0.255
# Configure Switch B.
<SwitchB> system-view
[SwitchB] interface Vlan-interface 1