R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101

285
P2P—When the link layer protocol is PPP, LAPB, HDLC, or POS, OSPF considers the network type
as P2P by default.
You can change the network type of an interface as needed.
When an NBMA network becomes fully meshed through address mapping—any two routers in the
network have a direct virtual link in between—you can change the network type to broadcast to
avoid manual configuration of neighbors.
When some routers in the broadcast network do not support multicast, you can change the network
type to NBMA.
An NBMA network is fully meshed, which means any two routers in the NBMA network have a
direct virtual link for communication. If direct connections are not available between some routers,
the type of interfaces associated should be configured as P2MP, or as P2P for interfaces with only
one neighbor.
If two interfaces on a link are both configured as the broadcast, NBMA or P2MP type, they cannot
establish a neighbor relationship unless they are on the same network segment.
Prerequisites
Before configuring OSPF network types, you have configured:
IP addresses for interfaces, making neighboring nodes accessible with each other at network layer.
OSPF basic functions
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 DR priority for the
interface
ospf dr-priority priority
Optional
The default DR priority is 1.
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 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