H3C S7500 Series Operation Manual page 344

Hide thumbs Also See for S7500 Series:
Table of Contents

Advertisement

Operation Manual – Routing Protocol
H3C S7500 Series Ethernet Switches
make Switch A and Switch C become DR and BDR respectively. Set the priority of
Switch A to 100 (the highest on the network) so that Switch A is elected as the DR. Set
the priority of Switch C to 2 (the second highest priority) so that Switch C is elected as
the BDR. Set the priority of Switch B to 0 so that Switch B cannot be elected as the DR.
No priority is set for Switch D so it has a default priority of 1.
II. Network diagram
Switch A
DR
Switch B
Device
Switch A
Switch B
Switch C
Switch D
Figure 4-3 DR election based on OSPF priority
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] 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
[SwitchB-Vlan-interface1] ip address 196.1.1.2 255.255.255.0
[SwitchB-Vlan-interface1] ospf dr-priority 0
[SwitchB] router id 2.2.2.2
[SwitchB] ospf
[SwitchB-ospf-1] area 0
[SwitchB-ospf-1-area-0.0.0.0] network 196.1.1.0 0.0.0.255
# Configure Switch C.
Vlan- int1
Vlan- int1
Interface
IP address
Vlan-int1
196.1.1.1/24
Vlan-int1
196.1.1.2/24
Vlan-int1
196.1.1.3/24
Vlan-int1
196.1.1.4/24
Switch D
Vlan -int1
Vlan-int1
BDR
Switch C
Router ID
1.1.1.1
2.2.2.2
3.3.3.3
4.4.4.4
4-26
Chapter 4 OSPF Configuration
Interface priority
100
0
2
1

Advertisement

Table of Contents
loading

Table of Contents