beautypg.com

Configuring the dr priority on an ospf interface, Ospf route control – H3C Technologies H3C S3600 Series Switches User Manual

Page 343

background image

4-16

z

P2MP ( required only when the interface sends packets in the unicast mode)

Since the neighbor routers cannot be discovered by broadcasting Hello packets, you must manually

specify the IP address of the neighbor router. For an NBMA network, you can determine whether the

neighbor has the DR election right.

Follow these steps to configure NBMA/P2MP neighbor:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter OSPF view

ospf [ process-id [ router-id
router-id ] ]

Required

Configure an NBMA/P2MP
neighbor

peer ip-address [ dr-priority
dr-priority ]

Required

By default, the priority for the
neighbor of an NBMA interface
is 1.

Configuring the DR Priority on an OSPF Interface

You can control the DR/BDR election on a broadcast or NBMA network by configuring the DR priorities

of interfaces.

Follow these steps to configure the DR priority on an OSPF interface:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter interface view

interface interface-type
interface-number

Configure the DR priority on the
OSPF interface

ospf dr-priority priority

Optional

1 by default

The DR priorities configured by the ospf dr-priority command and the peer command have different

purposes:

z

The priority set with the ospf dr-priority command is used for actual DR election.

z

The priority set with the peer command is used to indicate if a neighbor has the right to vote. If you

specify the priority to 0 when configuring a neighbor, the local router will believe that the neighbor

has no right to vote and sends no Hello packet to it. This configuration can reduce the number of

Hello packets on the network during the election of DR and BDR. However, if the local router is

already a DR or BDR, it will send Hello packets to the neighbor whose DR priority is 0 to establish

the adjacencies.

OSPF Route Control

Perform the following configurations to control the advertisement and reception of the routing

information discovered by OSPF and import routing information discovered by other protocols.

This manual is related to the following products: