3Com Switch 8800 Configuration Guide
Chapter 19 OSPF Configuration
19-18
Table 19-17
Configure a network type for an OSPF interface
Operation
Command
Configure the network type on the interface
ospf network-type
{
broadcast
|
nbma
|
p2mp
|
p2p
}
Restore the default network type of the
OSPF interface
undo ospf network-type
By default, OSPF determines the network type based on the link layer type. After the
interface has been configured with a new network type, the original network type of the
interface is removed automatically.
19.2.12 Configuring NBMA Neighbors for OSPF
For an NBMA network, some special configurations are required. Since an NBMA
interface on the network cannot discover the adjacent router through broadcasting
Hello packets, you must manually specify an IP address for the adjacent router for the
interface, and specify whether the adjacent router is eligible for election.
Perform the following configuration in OSPF view.
Table 19-18
Configure the NBMA neighbors for OSPF
Operation
Command
Configure the NBMA neighbors for OSPF
peer
ip
-
address
[
dr-priority
dr
-
priority
-
number
]
Remove the configured NBMA neighbors
undo peer
ip
-
address
By default, the preference for NBMA neighbor is 1.
19.2.13 Setting the Interface Priority for DR Election
On a broadcast or NBMA network, a designated router (DR) and a backup designated
router (BDR) must be elected.
The priority of a router interface determines the qualification of the interface in DR
election. The router with the priority of 0 cannot be elected as the DR or BDR.
DR is not designated manually. Instead, it is elected by all the routers on the segment.
Routers with the priorities larger than 0 in the network are eligible “candidates”. Votes
are hello packets. Each router writes the expected DR in the packet and sends it to all
the other routers on the segment. If two routers attached to the same segment
concurrently declare themselves to be the DR, choose the one with higher priority. If the
priorities are the same, choose the one with greater router ID. If the priority of a router is
0, it will not be elected as DR or BDR.