the sending polling hello packets before the adjacency of the neighboring
routers is formed.
Configure the interface type to nonbroadcast on a broadcast network without
■
multi-access capability.
Configure the interface type to P2MP if not all the routers are directly
■
accessible on an NBMA network.
Change the interface type to P2P if the router has only one peer on the NBMA
■
network.
The differences between NBMA and P2MP are listed below:
In OSPF, NBMA refers to the networks that are fully connected, non-broadcast
■
and multi-accessible. However, a P2MP network is not required to be fully
connected.
DR and BDR are required on a NBMA network but not on a P2MP network.
■
NBMA is the default network type. For example, if ATM is adopted as the link
■
layer protocol, OSPF defaults the network type on the interface to NBMA,
regardless of whether the network is fully connected. P2MP is not the default
network type. No link layer protocols are regarded as P2MP. You must change
the network type to P2MP manually. The most common method is to change a
partially connected NBMA network to a P2MP network.
NBMA forwards packets by unicast and requires neighbors to be configured
■
manually. P2MP forward packets by multicast.
Perform the following configuration in VLAN interface view.
Table 25 Configure a Network Type on the Interface that Starts OSPF
Operation
Configure network type on the
interface
After the interface has been configured with a new network type, the original
network type of the interface is removed automatically.
Configure the Cost for Sending Packets on an Interface
The user can control the network traffic by configuring different message sending
costs for different interfaces. Otherwise, OSPF automatically calculates the cost
according to the baud rate on the current interface.
Perform the following configuration in VLAN interface view.
Table 26 Configure the Cost for Sending Packets on the Interface
Operation
Configure the cost for sending
packets on interface
Restore the default cost for packet
transmission on the interface
Command
ospf network-type { broadcast | NBMA | P2MP | P2P }
Command
ospf cost value
undo ospf cost
OSPF
81