![H3C S5500-EI series Configuration Manual Download Page 98](http://html2.mh-extra.com/html/h3c/s5500-ei-series/s5500-ei-series_configuration-manual_3726960098.webp)
81
To do…
Use the command…
Remarks
Configure the OSPF network type
for the interface as P2P
ospf network-type p2p
Required
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 configuring OSPF route control, complete the following tasks:
•
Configure IP addresses for interfaces
•
Configure OSPF basic functions
•
Configure filters if routing information filtering is needed
Configuring OSPF route summarization
Route summarization is when an ABR or ASBR summarizes routes with the same prefix into a single route
and distributes it to other areas.
Route summarization reduces the traffic of routing information exchanged between areas and the sizes
of routing tables on routers, improving route calculation speed on routers.
For example, there are three internal routes in an area: 19.1.1.0/24, 19.1.2.0/24, and 19.1.3.0/24. By
configuring route summarization on the ABR, the three routes are summarized into the route 19.1.0.0/16
that is advertised to other areas.
Configuring route summarization on an ABR
If contiguous network segments are available in the area, you can summarize them into a single network
segment. An ABR generates Type-3 LSAs on a per network segment basis for an attached non-backbone
area.
The ABR in the area distributes only the summary LSA to reduce the scale of LSDBs on routers in other
areas and the influence of topology changes.
Follow these steps to configure route summarization on an ABR:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter OSPF view
ospf
[
process-id
|
router-id
router-id
|
vpn-instance
vpn-instance-name
] *
—
Enter OSPF area view
area
area-id
—
Configure ABR route
summarization
abr-summary
ip-address
{
mask
|
mask-length
} [
advertise
|
not-advertise
] [
cost
cost
]
Required
Not configured by default.
The command is available on an
ABR only.