Configuring A Router Priority For An Ospf Interface; Configuring Ospf Route Control - H3C S3610-28P Operation Manual

S3610 & s5510 series
Table of Contents

Advertisement

Operation Manual – IPv4 Routing
H3C S3610&S5510 Series Ethernet Switches
Follow these steps to configure a neighbor and its DR priority:
Enter system view
Enter OSPF view
Specify an NBMA neighbor
and its DR priority

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:
Enter system view
Enter interface view
Configure a router
priority for the interface
Note:
The DR priority configured with the ospf dr-priority command and the one with the
peer command have the following differences:
The former is for actual DR election.
The latter is to indicate whether a neighbor has the election right or not. If you
configure the DR priority for a neighbor as 0, the local router will consider the
neighbor has no election right, and thus no hello packet is sent to this neighbor,
reducing the number of hello packets for DR/BDR election on networks. However, if
the local router is the DR or BDR, it sends hello packets to the neighbor with priority
0 for adjacency establishment.

3.6 Configuring OSPF Route Control

This section covers how to control OSPF routing information advertisement and
reception, and route redistribution from other protocols.
To do...
To do...
Use the command...
system-view
interface interface-type
interface-number
ospf dr-priority priority
Use the command...
system-view
ospf [ process-id | router-id
router-id | vpn-instance
instance-name ]*
peer ip-address [ dr-priority
dr-priority ]
3-27
Chapter 3 OSPF Configuration
Remarks
Required
Remarks
Optional
The default router priority is 1.

Advertisement

Table of Contents
loading

Table of Contents