The DR priority configured with the ospf dr-priority command and the one configured with the peer
command have the following differences:
The former is for actual DR election.
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.
Configuring the OSPF Network Type for an Interface as P2MP
Follow these steps to configure the OSPF network type for an interface as P2MP:
To do...
Enter system view
Enter interface view
Configure the OSPF network
type for the interface as P2MP
Configuring the OSPF Network Type for an Interface as P2P
Follow these steps to configure the OSPF network type for an interface as P2P:
To do...
Enter system view
Enter interface view
Configure the OSPF network
type for the interface as P2P.
Configuring OSPF Route Control
This section covers how to control OSPF routing information advertisement and reception, and route
redistribution from other protocols.
Prerequisites
Before configuring this task, you have configured:
IP addresses for interfaces
Use the command...
system-view
interface interface-type
interface-number
ospf network-type p2mp
Use the command...
system-view
interface interface-type
interface-number
ospf network-type p2p
1-26
Remarks
—
—
Required
By default, the network type is
broadcast.
Remarks
—
—
Required
By default, the network type is
broadcast.