Operation Manual – IPv4 Routing
H3C S3610&S5510 Series Ethernet Switches
Chapter 3 OSPF Configuration
3-27
Follow these steps to configure a neighbor and its DR priority:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter OSPF view
ospf
[
process-id
|
router-id
router-id
|
vpn-instance
instance-name
]*
—
Specify an NBMA neighbor
and its DR priority
peer
ip-address
[
dr-priority
dr-priority
]
Required
3.5.4 Configuring a Router Priority for an OSPF Interface
For broadcast or NBMA interfaces, you can configure router priorities for DR/BDR
election.
Follow these steps to configure a router priority for an OSPF interface:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter interface view
interface
interface-type
interface-number
—
Configure a router
priority for the interface
ospf dr-priority
priority
Optional
The default router priority is 1.
Note:
The DR priority configured with the
ospf dr-priority
command and the one with the
peer
command have the following differences:
z
The former is for actual DR election.
z
The latter is to indicate whether a neighbor has the election right or not. If you
configure the DR priority for a neighbor as 0, the local router will consider the
neighbor has no election right, and thus no hello packet is sent to this neighbor,
reducing the number of hello packets for DR/BDR election on networks. However, if
the local router is the DR or BDR, it sends hello packets to the neighbor with priority
0 for adjacency establishment.
3.6 Configuring OSPF Route Control
This section covers how to control OSPF routing information advertisement and
reception, and route redistribution from other protocols.