Configuring the OSPF Network Type for an Interface as Broadcast
Follow these steps to configure the OSPF network type for an interface as broadcast:
To do...
Enter system view
Enter interface view
Configure the OSPF network type
for the interface as broadcast
Configure a DR priority for the
interface
Configuring the OSPF Network Type for an Interface as NBMA
After configuring the network type of an interface as NBMA, you need to make some special
configurations.
Because NBMA interfaces cannot find neighbors via broadcasting Hello packets, you need to specify
neighbors and neighbor DR priorities. (A DR priority of 0 means the router does not have the DR
election right; a DR priority greater than 0 means the router has the DR election right).
Follow these steps to configure the OSPF network type for an Interface as NBMA:
To do...
Enter system view
Enter interface view
Configure the OSPF network
type for the interface as NBMA
Configure a DR priority for the
interface
Exit to system view
Enter OSPF view
Use the command...
system-view
interface interface-type
interface-number
ospf network-type broadcast
ospf dr-priority priority
Use the command...
system-view
interface interface-type
interface-number
ospf network-type nbma
ospf dr-priority priority
quit
ospf [ process-id | router-id
router-id | vpn-instance
instance-name ] *
4-26
Remarks
—
—
Required
By default, the network type of an
interface depends on the link layer
protocol.
Optional
The default DR priority is 1.
Remarks
—
—
Required
By default, the network type of an
interface depends on the link layer
protocol.
Optional
The default DR priority is 1
—
—