NOTE:
The router 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 router
priority for a neighbor as 0, the local router will assume the neighbor has no election right, and send no
hello packets to this neighbor. However, if the local router is the DR or BDR, it still 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
Exit to system view
Enter OSPF view
Specify a neighbor and its router
priority on a P2MP unicast
network
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
Use the command...
system-view
interface interface-type
interface-number
ospf network-type p2mp [ unicast ]
quit
ospf [ process-id | router-id
router-id | vpn-instance
vpn-instance-name ] *
peer ip-address [ cost value |
dr-priority dr-priority ]
Use the command...
system-view
interface interface-type
interface-number
79
Remarks
—
—
Required
By default, the network type of an
interface depends on the link layer
protocol.
After you configure the OSPF
network type for an interface as
P2MP unicast, all packets are unicast
over the interface. The interface
cannot broadcast hello packets to
discover neighbors. In that case, you
need to manually specify the
neighbors.
—
—
Required if the interface type is
P2MP unicast
Remarks
—
—