Command Manual - Routing Protocol
Quidway S6500 Series Ethernet Switches Chapter 3 OSPF Configuration Commands
Huawei Technologies Proprietary
3-40
3.1.38 ospf network-type
Syntax
ospf network-type { broadcast | nbma | p2mp | p2p }
undo ospf network-type
View
Interface view
Parameter
broadcast: Change the interface network type to broadcast.
nbma: Change the interface network type to NBMA.
p2mp: Change the interface network type to p2mp.
p2p: Change the interface network type to point-to-point.
Description
Using ospf network-type command, you can configure the network type of OSPF
interface. Using undo ospf network-type command, you can restore the default
network type of the OSPF interface.
OSPF divides networks into four types by link layer protocol:
z Broadcast: If Ethernet or FDDI is adopted, OSPF defaults the network type to
broadcast.
z Non-Broadcast Muli-access (nbma): If Frame Relay, ATM, HDLC or X.25 is
adopted, OSPF defaults the network type to NBMA.
z Point-to-Multipoint (p2mp): OSPF will not default the network type of any link layer
protocol to p2mp. The general undertaking is to change a partially connected
NBMA network to p2mp network if the NBMA network is not fully-meshed.
z Point-to-point (p2p): If PPP, LAPB or POS is adopted, OSPF defaults the network
type to p2p.
NBMA means that a network is non-broadcast and multi-accessible. ATM is a typical
example for it. The user can configure the polling interval to specify the interval of
sending polling hello packets before the adjacency of the neighboring routers is formed.
Configure the interface type to nonbroadcast on a broadcast network without
multi-access capability.
Configure the interface type to p2mp if not all the routers are directly accessible on an
NBMA network.
Change the interface type to p2p if the router has only one peer on the NBMA network.
Note: When the network type of an interface is NBMA or it is changed to NBMA
manually, the peer command must be used to configure the neighboring point.