H3C S7500E Series Ethernet Switches Operation Manual
Operation Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches Chapter 3 OSPF Configuration
3-26
3.5.2 Configuring the OSPF Network Type for an Interface
Follow these steps to configure the OSPF network type for an interface:
To do… Use the command… Remarks
Enter system view
system-view
—
Enter interface view
interface interface-type
interface-number
—
Configure a network type
ospf network-type
{ broadcast | nbma |
p2mp | p2p }
Optional
Not configured by default
The network type of an
interface depends on the
media type of the
interface.
Note:
z Configuring a new network type for an interface overwrites the previous one (if any).
z If the two interfaces on a link are both configured as the broadcast, NBMA or P2MP
type, they can not establish the neighbor relationship unless they are on the same
network segment.
3.5.3 Configuring an NBMA Neighbor
For NBMA interfaces that cannot broadcast hello packets to find neighbors, you need to
specify the IP addresses and DR priorities of neighbors manually.
Follow these steps to configure a neighbor and its DR priority:
To do… Use the command… Remarks
Enter system view
system-view
—
Enter OSPF view
ospf [ process-id | router-id
router-id ] *
—
Specify an NBMA neighbor
and its DR priority
peer ip-address [ dr-priority
dr-priority ]
Required
3.5.4 Configuring a Router Priority for an OSPF Interface
For broadcast or NBMA interfaces, you can configure router priorities for DR/BDR
election.
Follow these steps to configure a router priority for an OSPF interface: