Operation Manual - Routing Protocol 
Quidway S3500 Series Ethernet Switches  Chapter 4  OSPF Configuration
 
Huawei Technologies Proprietary 
4-26 
[Switch A] ospf 
[Switch A-ospf] area 0 
[Switch A-ospf-area-0.0.0.0] network 196.1.1.0 0.0.0.255 
# Configure Switch B: 
[Switch B] interface Vlan-interface 1 
[Switch B-Vlan-interface1] ip address 196.1.1.2 255.255.255.0 
[Switch B-Vlan-interface1] ospf dr-priority 0 
[Switch B] router id 2.2.2.2 
[Switch B] ospf 
[Switch B-ospf] area 0 
[Switch B-ospf-area-0.0.0.0] network 196.1.1.0 0.0.0.255 
# Configure Switch C: 
[Switch C] interface Vlan-interface 1 
[Switch C-Vlan-interface1] ip address 196.1.1.3 255.255.255.0 
[Switch C-Vlan-interface1] ospf dr-priority 2 
[Switch C] router id 3.3.3.3 
[Switch C] ospf 
[Switch C-ospf] area 0 
[Switch C-ospf-area-0.0.0.0] network 196.1.1.0 0.0.0.255 
# Configure Switch D: 
[Switch D] interface Vlan-interface 1 
[Switch D-Vlan-interface1] ip address 196.1.1.4 255.255.255.0 
[Switch D] router id 4.4.4.4 
[Switch D] ospf 
[Switch D-ospf] area 0 
[Switch D-ospf-area-0.0.0.0] network 196.1.1.0 0.0.0.255 
On Switch A, run display ospf peer to display the OSPF peers. Please note that 
Switch A has three peers. 
The state of each peer is full, which means that adjacency is set up between Switch A 
and each peer. Switch A and Switch C should set up adjacencies with all the routers on 
the network so that they can serve as the DR and BDR on the network respectively. 
Switch A is DR, while Switch C is BDR on the network. And all the other neighbors are 
DR others (which means that they are neither DRs nor BDRs). 
# Modify the priority of Switch B to 200: 
[Switch B-Vlan-interface2000] ospf dr-priority 200