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 router 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 must make some special configurations.
Because NBMA interfaces cannot find neighbors via broadcasting hello packets, you must specify
neighbors and their router priorities. (A router priority of 0 means the router does not have the DR election
right. A router 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 router priority for the
interface
Exit to system view
Enter OSPF view
Specify a neighbor and its router
priority
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
vpn-instance-name ] *
peer ip-address [ cost value |
dr-priority dr-priority ]
78
Remarks
—
—
Required
By default, the network type of an
interface depends on the link layer
protocol.
Optional
The default router priority is 1.
Remarks
—
—
Required
By default, the network type of an
interface depends on the link layer
protocol.
Optional
The default router priority is 1.
—
—
Required