Configuration prerequisites, Configuring the network type of an ospf interface, Configuring an nbma/p2mp neighbor – H3C Technologies H3C S3600 Series Switches User Manual
Page 342
4-15
reachable to each other through a virtual circuit. However, in many cases, this cannot be implemented
and you need to use a command to change the network type forcibly.
Configure the network type of an interface as P2MP if not all the routers are directly accessible on an
NBMA network. You can also configure the network type of an interface to P2P if the router has only one
peer on the NBMA network.
In addition, when configuring a broadcast network or NBMA network, you can also specify DR election
priority for each interface of a router to control the DR/BDR election in the network. Thus, the router with
higher performance and reliability can be selected as a DR or BDR.
Configuration Prerequisites
Before configuring the network type of an OSPF interface, perform the following tasks:
z
Configuring the network layer address of the interface so that the adjacent node is reachable at
network layer
z
Performing basic OSPF configuration
Configuring the Network Type of an OSPF Interface
Follow these steps to configure the network type of an OSPF interface:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter interface view
interface interface-type
interface-number
—
Configure the network
type of the OSPF
interface
ospf network-type
{ broadcast | nbma | p2mp
[ unicast ] | p2p }
Required
By default, the network type of an
interface depends on the physical
interface.
z
After an interface has been configured with a new network type, the original network type of the
interface is removed automatically.
z
An adjacency can be established between two interfaces configured as broadcast, NBMA, or
P2MP only if the interfaces are on the same network segment.
z
If the network type of an interface is NBMA or is changed to NBMA, you must use the peer
command to specify the peer.
z
If the network type of an interface is P2MP and the unicast keyword is specified, an interface
sends packets in the unicast mode. In this case, you must use the peer command to specify the
peer.
Configuring an NBMA/P2MP Neighbor
When the network type of an interface on the router is one of the following types, you need to specify the
IP address of the neighbor router:
z
NBMA