Configuring OSPF Route Control 297
n
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.
Configuring OSPF 
Route Control
This section covers how to control OSPF routing information advertisement and 
reception, and route redistribution from other protocols.
Prerequisites Before configuring this task, you have configured:
■ IP addresses for interfaces
■ OSPF basic functions
■ Corresponding filters if routing information filtering is needed.
Configuring OSPF Route
Summarization
OSPF route summarization includes:
■ Configuring route summarization between OSPF areas on an ABR
■ Configuring route summarization when redistributing routes into OSPF on an 
ASBR
Follow these steps to configure route summarization between OSPF areas on an 
ABR:
Follow these steps to configure route summarization when redistributing routes 
into OSPF on an ASBR:
To do…  Use the command…  Remarks 
Enter system view  system-view - 
Enter interface view  interface interface-type 
interface-number 
- 
Configure a router priority for 
the interface 
ospf dr-priority priority Optional
The default router priority is 1.
To do…  Use the command…  Remarks 
Enter system view  system-view - 
Enter OSPF view  ospf [ process-id | router-id 
router-id ] * 
- 
Enter OSPF area view  area area-id Required 
Configure ABR route 
summarization 
abr-summary ip-address { mask | 
mask-length } [ advertise | 
not-advertise ] [ cost cost ] 
Required
Available on an ABR only
Not configured by default