R3721-F3210-F3171-HP High-End Firewalls Network Management Configuration Guide-6PW101

Table Of Contents
380
P2P—When the link layer protocol is PPP, LAPB, or HDLC, 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 circuit 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 must be fully meshed. If it is partially meshed, you can change the network type
to P2MP to simplify configuration and save network costs.
If a router on an NBMA network has only one neighbor, you can change the network type to P2P
to save network costs.
If two interfaces on a link are both configured as the broadcast, NBMA, or P2MP network type, they
cannot establish a neighbor relationship unless they are on the same network segment.
Configuration prerequisites
Before you configure OSPF network types, complete the following tasks:
Configure IP addresses for interfaces, making neighboring nodes accessible with each other at
network layer.
Configure OSPF basic functions.
Configuring the OSPF network type for an interface as broadcast
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type
interface-number
N/A
3. Configure the OSPF network
type for the interface as
broadcast.
ospf network-type broadcast
By default, the network type of
an interface depends on the
link layer protocol.
4. 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 need to make some special
configurations.
Because NBMA interfaces cannot find neighbors via broadcasting Hello packets, you need to 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.)
To configure the OSPF network type for an Interface as NBMA:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A