4-53
View
Interface view
Default Level
2: System level
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 OSPF packets. By default, a P2MP interface
multicasts OSPF packets.
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, and X.25, the default network type is NBMA.
z
For PPP, LAPB, HDLC, 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 or P2MP unicast, 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.
z
When the network type of an interface is P2MP unicast, all OSPF packets are sent out the
interface through unicast.
Related commands:
ospf dr-priority
.
This command is not supported on the null or loopback interfaces.
Examples
# Configure an interface’s OSPF network type as NBMA.