4-15Configure the network type of an interface as P2MP if not all the routers are directly accessible on anNBMA network. You can also configure the network type of an interface to P2P if the router has only onepeer on the NBMA network.In addition, when configuring a broadcast network or NBMA network, you can also specify DR electionpriority for each interface of a router to control the DR/BDR election in the network. Thus, the router withhigher performance and reliability can be selected as a DR or BDR.Configuration PrerequisitesBefore configuring the network type of an OSPF interface, perform the following tasks:z Configuring the network layer address of the interface so that the adjacent node is reachable atnetwork layerz Performing basic OSPF configurationConfiguring the Network Type of an OSPF InterfaceFollow these steps to configure the network type of an OSPF interface:To do... Use the command... RemarksEnter system view system-view —Enter interface view interface interface-typeinterface-number —Configure the network typeof the OSPF interfaceospf network-type { broadcast |nbma | p2mp [ unicast ] | p2p }RequiredBy default, the network type of an interfacedepends on the physical interface.z After an interface has been configured with a new network type, the original network type of theinterface is removed automatically.z An adjacency can be established between two interfaces configured as broadcast, NBMA, orP2MP only if the interfaces are on the same network segment.z If the network type of an interface is NBMA or is changed to NBMA, you must use the peercommand to specify the peer.z If the network type of an interface is P2MP and the unicast keyword is specified, an interfacesends packets in the unicast mode. In this case, you must use the peer command to specify thepeer.Configuring an NBMA/P2MP NeighborWhen the network type of an interface on the router is one of the following types, you need to specify theIP address of the neighbor router:z NBMAz P2MP ( required only when the interface sends packets in the unicast mode)