![H3C S5500-EI series Configuration Manual Download Page 96](http://html2.mh-extra.com/html/h3c/s5500-ei-series/s5500-ei-series_configuration-manual_3726960096.webp)
79
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…
Use the command…
Remarks
Enter system view
system-view
—
Enter interface view
interface
interface-type
interface-number
—
Configure the OSPF network type
for the interface as broadcast
ospf network-type broadcast
Required
By default, the network type of an
interface depends on the link layer
protocol.
Configure a router priority for the
interface
ospf dr-priority
priority
Optional
The default router priority is 1.
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…
Use the command…
Remarks
Enter system view
system-view
—
Enter interface view
interface
interface-type
interface-number
—
Configure the OSPF network type
for the interface as NBMA
ospf network-type nbma
Required
By default, the network type of an
interface depends on the link layer
protocol.
Configure a router priority for the
interface
ospf dr-priority
priority
Optional
The default router priority is 1.
Exit to system view
quit
—
Enter OSPF view
ospf
[
process-id
|
router-id
router-id
|
vpn-instance
vpn-instance-name
] *
—
Specify a neighbor and its router
priority
peer
ip-address
[
cost
value
|
dr-priority
dr-priority
]
Required