3Com Switch 8800 Advanced Software V5 Configuration Guide
326 CHAPTER 30: OSPF CONFIGURATION
Prerequisites Before configuring OSPF network types, you have configured:
■ IP addresses for interfaces, making neighboring nodes accessible with each
other at network layer.
■ OSPF basic functions
Configuring the OSPF
Network Type for an
Interface
To configure the OSPF network type for an interface, use the following
commands:
n
■ Configuring a new network type for an interface overwrites the previous
network one (if any).
■ If the two interfaces on a link are both configured as the broadcast, NBMA or
P2MP type, they can not establish neighbor relationship unless they are on the
same network segment.
Configuring an NBMA
Neighbor
For NBMA interfaces that cannot broadcast hello packets to find neighbors, you
need to specify IP addresses and DR priorities of neighbors manually.
To configure a neighbor and its DR priority, use the following commands:
Configuring a DR
Priority for an OSPF
Interface
For broadcast or NBMA interfaces, you can configure DR priorities for DR/BDR
election. To configure a DR priority for an OSPF interface, use the following
commands:
n
The DR priority configured with the ospf dr-priority command and the one with
the peer command have the following differences:
To do... Use the command... Remarks
Enter system view system-view -
Enter interface view interface interface-type
interface-number
-
Configure the network type ospf network-type {
broadcast | nbma | p2mp |
p2p }
Optional
Not configured by default
To do... Use the command... Remarks
Enter system view system-view -
Enter OSPF view ospf [ process-id | router-id
router-id | vpn-instance
instance-name ]*
-
Specify an NBMA neighbor
and its DR priority
peer ip-address [ dr-priority
dr-priority ]
Required
To do... Use the command... Remarks
Enter system view system-view -
Enter interface view interface interface-type
interface-number
-
Configure a DR priority for
the interface
ospf dr-priority priority Optional
The default DR priority is 1