< Home

Configuring DR Priorities of OSPF Interfaces

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.

Context

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.

Procedure

  1. Access the system view.

    system-view

  2. Access the interface view.

    interface interface-type interface-number

  3. Set a DR priority for OSPF interfaces.

    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.

    • Restart all routers.
    • Run the shutdown and undo shutdown commands on the interface on which the OSPF neighbor relationship is set up.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic