ospfv3 network-type
Use ospfv3 network-type to specify the network type for an OSPFv3 interface.
Use undo ospfv3 network-type to remove the configuration.
Syntax
ospfv3 network-type { broadcast | nbma | p2mp [ unicast ] | p2p } [ instance instance-id ]
undo ospfv3 network-type [ instance instance-id ]
Default
The network type of an OSPFv3 interface depends on its link layer protocol.
For Ethernet and FDDI, the default network type is broadcast.
For ATM, FR, and X.25, the default network type is NBMA.
For PPP, LAPB, HDLC, and POS, the default network type is P2P.
Views
Interface view
Predefined user roles
network-admin
Parameters
broadcast: Specifies the network type as broadcast.
nbma: Specifies the network type as NBMA.
p2mp: Specifies the network type as P2MP.
unicast: Specifies the P2MP interface to unicast OSPFv3 packets. By default, a P2MP interface multicasts OSPFv3 packets.
p2p: Specifies the network type as P2P.
instance instance-id: Specifies an instance by its ID in the range of 0 to 255. The default is 0.
Usage guidelines
If a router on a broadcast network does not support multicast, configure the network type for the connected interfaces as NBMA.
If any two routers on an NBMA network are directly connected through a virtual link, the network is fully meshed. You can configure the network type for the connected interfaces as NBMA. If two routers are not directly connected, configure the P2MP network type so that the two routers can exchange routing information through another router.
When the network type of an interface is NBMA or P2MP unicast, you must use the peer command to specify the neighbor.
When the network type of an interface is P2MP unicast, all OSPFv3 packets are unicast by the interface.
Examples
# Specify the OSPFv3 network type for VLAN-interface 20 as NBMA.
<Sysname> system-view [Sysname] interface vlan-interface 20 [Sysname-Vlan-interface20] ospfv3 network-type nbma
Related commands
ospfv3 dr-priority