Configuration Prerequisites
Before configuring OSPF route control, perform the following tasks:
Configuring the network layer addresses of interfaces so that the adjacent nodes are reachable to
each other at the network layer
Completing basic OSPF configuration
Configuring matching rules for routing information
Configuring OSPF Route Summarization
The configuration of OSPF route summarization includes:
Configuring ABR route summarization,
Configuring ASBR route summarization for imported routes.
Follow these steps to configure ABR route summarization:
To do...
Enter system view
Enter OSPF view
Enter area view
Enable ABR route summarization
Follow these steps to configure ASBR route summarization:
To do...
Enter system view
Enter OSPF view
Enable ASBR route
summarization
Configuring OSPF to Filter Received Routes
Follow these steps to configure OSPF to filter received routes:
To do...
Enter system view
Enter OSPF view
Configure to filter the
received routes
Use the command...
system-view
ospf [ process-id [ router-id
router-id ] ]
area area-id
abr-summary ip-address mask
[ advertise | not-advertise ]
Use the command...
system-view
ospf [ process-id [ router-id
router-id ] ]
asbr-summary ip-address mask
[ not-advertise | tag value ]
Use the command...
system-view
ospf [ process-id [ router-id router-id ] ]
filter-policy { acl-number | ip-prefix
ip-prefix-name | gateway ip-prefix-name }
import
4-17
Remarks
—
—
—
Required
This command takes effect only
when it is configured on an ABR.
By default, this function is disabled
on an ABR.
Remarks
—
—
Required
By default, summarization of imported
routes is disabled.
Remarks
—
—
Required
By default, OSPF does not filter
received routing information.