Configuring ospf route control, Configuration prerequisites, Configuring ospf route summarization – H3C Technologies H3C S5560 Series Switches User Manual
Page 94: Configuring route summarization on an abr, Configuring route summarization on an asbr

78
Step Command
Remarks
3.
Configure the OSPF network
type for the interface as P2P.
ospf network-type p2p
[ peer-address-check ]
By default, the network type of an
interface depends on the link layer
protocol.
Configuring OSPF route control
This section describes how to control the advertisement and reception of OSPF routing information, as
well as route redistribution from other protocols.
Configuration prerequisites
Before you configure OSPF route control, complete the following tasks:
•
Configure IP addresses for interfaces to ensure IP connectivity between neighboring nodes.
•
Enable OSPF.
•
Configure filters if routing information filtering is needed.
Configuring OSPF route summarization
Route summarization enables an ABR or ASBR to summarize contiguous networks into a single network
and advertise the network to other areas.
Route summarization reduces the routing information exchanged between areas and the size of routing
tables, and improves routing performance. For example, three internal networks 19.1.1.0/24,
19.1.2.0/24, and 19.1.3.0/24 are available within an area. You can summarize the three networks into
network 19.1.0.0/16, and advertise the summary network to other areas.
Configuring route summarization on an ABR
After you configure a summary route on an ABR, the ABR generates a summary LSA instead of specific
LSAs. The scale of LSDBs on routers in other areas and the influence of topology changes are reduced.
To configure route summarization on an ABR:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter OSPF view.
ospf [ process-id | router-id router-id
| vpn-instance vpn-instance-name ] *
N/A
3.
Enter OSPF area view.
area area-id N/A
4.
Configure ABR route
summarization.
abr-summary ip-address
{ mask-length | mask } [ advertise |
not-advertise ] [ cost cost ]
By default, route summarization is
not configured on an ABR.
Configuring route summarization on an ASBR
Perform this task to enable an ASBR to summarize external routes within the specified address range into
a single route. The ASBR advertises only the summary route to reduce the number of LSAs in the LSDB.
An ASBR can summarize routes in the following LSAs: