On both broadcast and NBMA networks, you can configure the DR priorities of OSPF interfaces to impact the DR/BDR election. In common cases, the router with high performance and reliability is selected as the DR/BDR.
When configuring broadcast networks or NBMA networks, you can specify the DR priority for each interface to affect the DR/BDR election in the network. The greater the value is, the higher the priority is.
By default, the priority of the interface that candidates for the DR is 1.
interface interface-type interface-number
ospf dr-priority priority
After the DR priority is changed, you can re-elect a DR or BDR through the following methods, which, however, will result in the interruption of the OSPF neighbor relationship between routers and therefore are used only when necessary.