314
C
34: OSPF C
HAPTER
Configuration
Prerequisites
Configuring OSPF Route
Summary
Configuring OSPF to
Filter Received Routes
n
ONFIGURATION
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 filter list to filter routing information
■
The configuration of OSPF route summary includes:
Configuring ABR route summary,
■
Configuring ASBR route summary for imported routes.
■
Table 236 Configure ABR route summary
Operation
Enter system view
Enter OSPF view
Enter area view
Enable ABR route summary
Table 237 Configure ASBR route summary
Operation
Enter system view
Enter OSPF view
Enable ASBR route summary
Table 238 Configure OSPF to filter received routes
Operation
Enter system view
Enter OSPF view
Configure to filter the received
routes
OSPF is a dynamic routing protocol based on link state, with routing information
hidden in LSAs. Therefore, OSPF cannot filter any advertised or received LSA. In
Command
system-view
ospf [ process-id
[ router-id router-id ] ]
area area-id
abr-summary ip-address
mask [ advertise |
not-advertise ]
Command
system-view
ospf [ process-id
[ router-id router-id ] ]
asbr-summary ip-address
mask [ not-advertise | tag
value ]
Command
system-view
ospf [ process-id [ router-id
router-id ] ]
filter-policy { acl-number |
ip-prefix ip-prefix-name |
gateway ip-prefix-name }
import
Description
-
-
-
Required
This command takes effect
only when it is configured
on an ABR. By default, this
function is disabled on an
ABR.
Description
-
-
Required
This command takes
effect only when it is
configured on an ASBR.
By default, summary of
imported routes is
disabled.
Description
-
-
Required
By default, OSPF does not
filter received routing
information.