(Optional) Setting the DR Priority for the OSPFv3 Broadcast or NBMA Interface

You can specify the Designated Router (DR) priority for each interface on a broadcast or a non-broadcast multiple access (NBMA) network for DR/Backup Designated Router (BDR) election on the network.

Context

When configuring broadcast networks or NBMA networks, you can specify the DR priority for each interface for DR/BDR election on the network. The greater the value, the higher the priority.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run ospfv3 dr-priority priority[ instance instance-id ]

    The DR priority of the OSPFv3 interface is set.

  4. (Optional) Run ospfv3 timer wait interval [ instance instance-id ]

    The wait timer on an OSPFv3 interface is set.

    If no Backup Seen event is received within the interval, the designated router (DR) election starts. Setting a proper value for the wait timer can slow down changes of the DR and the backup designated router (BDR) on the network, reducing network flapping. When setting the wait timer, note the following points:

    • The wait timer takes effect only on broadcast and NBMA interfaces.
    • The value of the wait timer cannot be greater than the value of the dead timer.

  5. Run commit

    The configuration is committed.

Follow-up Procedure

Changing the priority leads to a DR/BDR re-election and interrupts the OSPFv3 adjacency between routers. Therefore, changing the priority is not recommended.

Reconfiguring the DR priority for an interface does not change the DR or BDR on the network. To reelect a DR or BDR, perform either of the following operations.

  • Restart the OSPFv3 processes on all the routers.

  • Run the shutdown and then undo shutdown commands on the interfaces where neighbor relationships are established.

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