Configuring the DR Priority on an OSPF Interface
You can control the DR/BDR election on a broadcast or NBMA network by configuring the DR priorities
of interfaces.
Follow these steps to configure the DR priority on an OSPF interface:
To do...
Enter system view
Enter interface view
Configure the DR priority on the
OSPF interface
The DR priorities configured by the ospf dr-priority command and the peer command have different
purposes:
The priority set with the ospf dr-priority command is used for actual DR election.
The priority set with the peer command is used to indicate if a neighbor has the right to vote. If you
specify the priority to 0 when configuring a neighbor, the local router will believe that the neighbor
has no right to vote and sends no Hello packet to it. This configuration can reduce the number of
Hello packets on the network during the election of DR and BDR. However, if the local router is
already a DR or BDR, it will send Hello packets to the neighbor whose DR priority is 0 to establish
the adjacencies.
OSPF Route Control
Perform the following configurations to control the advertisement and reception of the routing
information discovered by OSPF and import routing information discovered by other protocols.
Configuration Prerequisites
Before configuring OSPF route control, perform the following tasks:
Configuring the network layer addresses of interfaces so that the adjacent nodes are reachable to
each other at the network layer
Completing basic OSPF configuration
Configuring matching rules for routing information
Configuring OSPF Route Summarization
The configuration of OSPF route summarization includes:
Configuring ABR route summarization,
Use the command...
system-view
interface interface-type
interface-number
ospf dr-priority priority
4-18
Remarks
—
—
Optional
1 by default