373
Configuring OSPFv3 network types
OSPFv3 classifies networks into the following types by the link layer protocol:
•
Broadcast
—
When the link layer protocol is Ethernet or FDDI, OSPFv3 considers the network type
as broadcast by default.
•
NBMA
—
When the link layer protocol is ATM, Frame Relay, or X.25, OSPFv3 considers the network
type as NBMA by default.
•
P2P
—
When the link layer protocol is PPP, LAPB, HDLC, or POS, OSPFv3 considers the network type
as P2P by default.
Follow these guidelines when you change the network type of an OSPFv3 interface:
•
An NBMA network must be fully connected. Any two routers in the network must be directly
reachable to each other through a virtual circuit. If no such direct link is available, you must change
the network type through a command.
•
If direct connections are not available between some routers in an NBMA network, the type of
interfaces associated must be configured as P2MP, or as P2P for interfaces with only one neighbor.
Configuration prerequisites
Before you configure OSPFv3 network types, enable OSPFv3.
Configuring the OSPFv3 network type for an interface
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Configure a network type for
the OSPFv3 interface.
ospfv3 network-type
{
broadcast
|
nbma
|
p2mp
[
unicast
] |
p2p
}
[
instance
instance-id
]
By default, the network type of an
interface depends on the media type
of the interface.
Configuring an NBMA or P2MP neighbor
For NBMA and P2MP interfaces (only when in unicast mode), you must specify the link-local IP addresses
of their neighbors because these interfaces cannot find neighbors through broadcasting hello packets.
For NBMA interfaces, you can also specify DR priorities for neighbors.
To configure an NBMA or P2MP (unicast) neighbor and its DR priority:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A