Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches Chapter 3 OSPF Configuration Commands
3-48
[Sysname-Vlan-interface10] ospf mtu-enable
3.1.44 ospf network-type
Syntax
ospf network-type { broadcast | nbma | p2mp | p2p }
undo ospf network-type
View
Interface view
Parameters
broadcast: Specifies the network type as Broadcast.
nbma: Specifies the network type as NBMA.
p2mp: Specifies the network type as P2MP.
p2p: Specifies the network type as P2P.
Description
Use the ospf network-type command to set the network type for an interface.
Use the undo ospf network-type command to restore the default network type for an
interface.
By default, the network type of an interface depends on its link layer protocol.
z For Ethernet, and FDDI, the default network type is broadcast.
z For ATM, FR, HDLC and X.25, the default network type is NBMA.
z For PPP, LAPB and POS, the default network type is P2P.
Note that:
z If a router on a broadcast network does not support multicast, you can configure
the interface’s network type as NBMA.
z If any two routers on an NBMA network are directly connected via a virtual link,
that is, the network is fully meshed, you can configure the network type as NBMA;
otherwise you need to configure it as P2MP for two routers having no direct link to
exchange routing information via another router.
z When the network type of an interface is NBMA, you need to use the peer
command to specify a neighbor.
z If only two routers run OSPF on a network segment, you can configure associated
interfaces’ network type as P2P.
Related commands: ospf dr-priority.