Ospf Configuration Example; Configuring Dr Election Based On Ospf Priority - Huawei Quidway S5600 Series Operation Manual

Hide thumbs Also See for Quidway S5600 Series:
Table of Contents

Advertisement

Operation Manual – Routing Protocol
Quidway S5600 Series Ethernet Switches-Release 1510

4.9 OSPF Configuration Example

4.9.1 Configuring DR Election Based on OSPF Priority

I. Network requirements
Four S5600 switches, SwitchA, SwitchB, SwitchC, and SwitchD, which run OSPF, are
on the same segment, as shown in Figure 4-3. 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.
II. Network diagram
Sw itch A
Sw itch A
DR
DR
196.1.1.1/24
196.1.1.1/24
196.1.1.2/24
196.1.1.2/24
Figure 4-3 DR election based on OSPF priority
III. Configuration procedure
# Configure SwitchA.
<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] 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 SwitchB.
<SwitchB> system-view
[SwitchB] interface Vlan-interface 1
[SwitchB-Vlan-interface1] ip address 196.1.1.2 255.255.255.0
[SwitchB-Vlan-interface1] ospf dr-priority 0
1.1.1.1
1.1.1.1
Sw itch B
Sw itch B
2.2.2.2
2.2.2.2
Huawei Technologies Proprietary
Sw itch D
Sw itch D
4.4.4.4
4.4.4.4
196.1.1.4/24
196.1.1.4/24
196.1.1.3/24
196.1.1.3/24
BDR
BDR
3.3.3.3
3.3.3.3
Sw itch C
Sw itch C
4-27
Chapter 4 OSPF Configuration

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents