Configure OSPFv3 Network Type
According to the link protocol types, OSPFv3 classifies networks into four types:
- Broadcast Network: When the link protocol of the network is Ethernet or Fiber Distributed Data Interface (FDDI), the default OSPFv3 network type is broadcast.
- Point To Point Network (P2P Network): When the link protocol is Point to Point Protocol (PPP), Link Access Procedure Balanced (LAPB), or High-level Data Link Control (HDLC), the default OSPFv3 network type is P2P.
- Non-Broadcast Multi-Access Network (NBMA Network): When the link protocol is ATM, frame relay, or X.25, the default OSPFv3 network type is NBMA.
- Point To Multi-Point Network (P2MP): No link protocol will be regarded by OSPFv3 as the P2MP network by default. Usually, the NBMA network that is not totally connected is configured as the OSPFv3 P2MP network.
You can modify the network type of an OSPFv3 interface according to the actual requirement. The network types of the interfaces through which OSPFv3 neighbors are set up must be the same; otherwise, normal learning of routes is affected.
Configuration Condition
Before configuring the OSPFv3 network type, ensure that:
- Enable the IPv6 forwarding function
- Enable the OSPFv3 protocol
Configure the Network Type of an OSPFv3 Interface to Broadcast
A broadcast network supports multiple devices (more than two devices). These devices can exchange information with all the devices in the network. OSPFv3 uses Hello packets to dynamically discover neighbors.
Table 8-6 Configure the network type of an OSPFv3 interface to broadcast
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Enter the interface configuration mode.
|
interface interface-name
|
-
|
Configure the network type of an OSPFv3 interface to broadcast.
|
ipv6 ospf network broadcast
|
Mandatory.
By default, the network type of an OSPFv3 interface is determined by the link layer protocol.
|
Configure the Network Type of an OSPFv3 Interface to P2P
A P2P network is a network that consists of two devices. Each device is located at one end of a P2P link. OSPFv3 uses Hello packets to dynamically discover neighbors.
Table 8-7 Configure the network type of an OSPFv3 interface to P2P
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Enter the interface configuration mode.
|
interface interface-name
|
-
|
Configure the OSPFv3 network type to P2P.
|
ipv6 ospf network point-to-point
|
Mandatory.
By default, the network type of an OSPFv3 interface is determined by the link layer protocol.
|
Configure the Network Type of an OSPFv3 Interface to NBMA
An NBMA network supports multiple devices (more than two devices), but the devices does not have the broadcast capability, therefore, you must specify a neighbor manually.
Table 8-8 Configure the network type of an OSPFv3 interface to NBMA
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Enter the interface configuration mode.
|
interface interface-name
|
-
|
Configure the network type of the OSPFv3 interface to NBMA.
|
ipv6 ospf network non-broadcast
|
Mandatory.
By default, the network type of an OSPFv3 interface is determined by the link layer protocol.
|
Configure a neighbor for the NBMA network.
|
ipv6 ospf neighbor neighbor-ipv6-address [ priority priority-value / poll-interval interval-value / cost cost-value ] [ instance-id instance-id ]
|
Mandatory.
In an NBMA network, a neighbor must be specified manually.
|
Configure the Network Type of an OSPFv3 Interface to P2MP
When an NBMA network is not fully connected, you can configure its network type to P2MP to save network overhead. If the network type is configured to P2MP unicast, you need to specify a neighbor manually.
Table 8-9 Configure the network type of an OSPFv3 interface to P2MP
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Enter the interface configuration mode.
|
interface interface-name
|
-
|
Configure the OSPFv3 network type to P2MP.
|
ipv6 ospf network point-to-multipoint [ non-broadcast ]
|
Mandatory.
By default, the network type of an OSPFv3 interface is determined by the link layer protocol.
|
Configure a neighbor for the P2MP unicast network.
|
ipv6 ospf neighbor neighbor-ipv6-address [ priority priority-value / poll-interval interval-value / cost cost-value ] [ instance-id instance-id ]
|
If the interface network type is set to P2MP unicast, it is mandatory.
|