Operation Manual – IPv4 Routing
H3C S3610&S5510 Series Ethernet Switches
Chapter 3 OSPF Configuration
3-26
virtual link in between. In most cases, however, the requirement cannot be satisfied, so
you need to change the network type using commands.
For routers having no direct link in between, you can configure the P2MP type for the
related interfaces. If a router in the NBMA network has only a single peer, you can
configure the P2P type for the related interfaces.
In addition, when configuring broadcast and NBMA networks, you can specify for
interfaces router priorities for DR/BDR election. In practice, the routers having higher
reliability should become the DR/BDR.
3.5.1 Prerequisites
Before configuring OSPF network types, you have configured:
z
IP addresses for interfaces, making neighboring nodes accessible with each other
at network layer.
z
OSPF basic functions.
3.5.2 Configuring the OSPF Network Type for an Interface
Follow these steps to configure the OSPF network type for an interface:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter interface view
interface
interface-type
interface-number
—
Configure a network type
ospf network-type
{
broadcast
|
nbma
|
p2mp
|
p2p
}
Optional
Not configured by default
The network type of an
interface depends on the
media type of the interface.
Note:
z
Configuring a new network type for an interface overwrites the previous one (if any).
z
If the two interfaces on a link are both configured as the broadcast, NBMA or P2MP
type, they can not establish the neighbor relationship unless they are on the same
network segment.
3.5.3 Configuring an NBMA Neighbor
For NBMA interfaces that cannot broadcast hello packets to find neighbors, you need to
specify the IP addresses and DR priorities of neighbors manually.