Configuration prerequisites – H3C Technologies H3C SR8800 User Manual

Page 100

Advertising
background image

84

If two interfaces on a link are both configured as the broadcast, NBMA, or P2MP network type, they

cannot establish a neighbor relationship unless they are on the same network segment.

Configuration prerequisites

Before you configure OSPF network types, complete the following tasks:

Configure IP addresses for interfaces, and make sure that all neighboring nodes are reachable to

each other at network layer.

Enable OSPF.

Configuring the OSPF network type for an interface as

broadcast

To configure the OSPF network type for an interface as broadcast:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type
interface-number

N/A

3.

Configure the OSPF network

type for the interface as
broadcast.

ospf network-type broadcast

By default, the network type of an
interface depends on the link layer

protocol.

4.

Configure a router priority for

the interface.

ospf dr-priority priority

Optional.
The default router priority is 1.

Configuring the OSPF network type for an interface as NBMA

After you configure the network type of an interface as NBMA, make some special configurations.
Because NBMA interfaces cannot find neighbors via broadcasting Hello packets, you must specify
neighbors and their router priorities. (A router priority of 0 means the router does not have the DR election

right. A router priority greater than 0 means the router has the DR election right.)
To configure the OSPF network type for an Interface as NBMA:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type
interface-number

N/A

3.

Configure the OSPF network

type for the interface as
NBMA.

ospf network-type nbma

By default, the network type of an
interface depends on the link layer

protocol.

4.

Configure a router priority
for the interface.

ospf dr-priority priority

Optional.
The default router priority is 1.

5.

Exit to system view.

quit

N/A

Advertising