H3C S5600 Series Operation Manual page 380

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

Advertisement

Operation Manual – Routing Protocol
H3C S5600 Series Ethernet Switches
[SwitchB-Vlan-interface1] ip address 196.1.1.2 255.255.255.0
[SwitchB-Vlan-interface1] ospf dr-priority 0
[SwitchB-Vlan-interface1] quit
[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.
<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-Vlan-interface1] quit
[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 Switch D.
<SwitchD> system-view
[SwitchD] interface Vlan-interface 1
[SwitchD-Vlan-interface1] ip address 196.1.1.4 255.255.255.0
[SwitchD-Vlan-interface1] quit
[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 Switch A, run the display ospf peer command to display its OSPF peers. Note
that Switch A has three peers.
The state of each peer is full, which means that adjacency is established between
Switch A and each peer. Switch A and Switch C must establish adjacencies with all
the switches on the network so that they can serve as the DR and BDR respectively
on the network. Switch A is DR, while Switch C 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 Switch B to 200.
<SwitchB> system-view
[SwitchB] interface Vlan-interface 1
[SwitchB-Vlan-interface1] ospf dr-priority 200
On Switch A, use the display ospf peer command to display its OSPF neighbors.
Note that the priority of Switch B has been changed to 200, but it is still not a DR.
The current DR is changed only when it is offline. Shut down Switch A, and use the
4-32
Chapter 4 OSPF Configuration

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5600-26cS5600-26c-pwrS5600-26fS5600-50cS5600-50c-pwr

Table of Contents