Huawei Quidway S5600 Series Operation Manual page 341

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

Advertisement

Operation Manual – Routing Protocol
Quidway S5600 Series Ethernet Switches-Release 1510
[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 SwitchC.
<SwitchC> system-view
[SwitchC] interface Vlan-interface 1
[SwitchC-Vlan-interface1] ip address 196.1.1.3 255.255.255.0
[SwitchC-Vlan-interface1] ospf dr-priority 2
[SwitchC] router id 3.3.3.3
[SwitchC] ospf
[SwitchC-ospf-1] area 0
[SwitchC-ospf-1-area-0.0.0.0] network 196.1.1.0 0.0.0.255
# Configure SwitchD.
<SwitchD> system-view
[SwitchD] interface Vlan-interface 1
[SwitchD-Vlan-interface1] ip address 196.1.1.4 255.255.255.0
[SwitchD] router id 4.4.4.4
[SwitchD] ospf
[SwitchD-ospf-1] area 0
[SwitchD-ospf-1-area-0.0.0.0] network 196.1.1.0 0.0.0.255
On SwitchA, run the display ospf peer command to display its OSPF peers. Note that
SwitchA has three peers.
The state of each peer is full, which means that adjacency is established between
SwitchA and each peer. SwitchA and SwitchC must establish adjacencies with all the
switches on the network so that they can serve as the DR and BDR respectively on the
network. SwitchA is DR, while SwitchC is BDR on the network. All the other neighbors
are DR others (This means that they are neither DRs nor BDRs).
# Change the priority of SwitchB to 200.
<SwitchB> system-view
[SwitchB] interface Vlan-interface 2000
[SwitchB-Vlan-interface2000] ospf dr-priority 200
On SwitchA, run the display ospf peer command to display its OSPF peers. Note that
the priority of SwitchB has been changed to 200, but it is still not the DR.
The DR is changed only when the current DR turn offline. Shut down SwitchA, and run
the display ospf peer command on SwitchD to display its peers. Note that the original
BDR (SwitchC) becomes the DR and SwitchB becomes BDR now.
If all Ethernet Switches on the network are removed from and then added to the
network again, SwitchB will be elected as the DR (with a priority of 200), and SwitchA
Huawei Technologies Proprietary
4-28
Chapter 4 OSPF Configuration

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents