1-28
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter OSPF view
ospf
[
process-id
|
router-id
router-id
|
vpn-instance
instance-name
]*
—
Configure ASBR route
summarization
asbr-summary
ip-address
{
mask
|
mask-length
} [
tag tag
|
not-advertise
|
cost
cost
] *
Required
The command is available on an
ASBR only.
Not configured by default.
Configuring OSPF Inbound Route Filtering
z
For details about IP prefix list, refer to
Route Policy Configuration
in the
IP Routing Volume
.
z
For details about route policy, refer to
Route Policy Configuration
in the
IP Routing Volume
.
Since OSPF is a link state-based interior gateway protocol, routing information is contained in LSAs.
Routes computed by OSPF can be filtered and only permitted routes are installed into the routing table.
There are four filtering methods:
z
Filtering routing information by destination address through ACLs and IP address prefixes.
z
Filtering routing information by next hop through the filtering criteria configured with the
gateway
keyword.
z
Filtering routing information by destination address through ACLs and IP address prefixes and by
next hop through the filtering criteria configured with the
gateway
keyword.
z
Filtering routing information by route policies specified by the
route-policy
keyword.
Follow these steps to configure inbound route filtering:
To do…
Use the command…
Remarks
Enter system view
system-view —
Enter OSPF view
ospf
[
process-id
|
router-id
router-id
|
vpn-instance
instance-name
] *
—
Configure inbound route
filtering
filter-policy
{
acl-number
[
gateway
ip-prefix-name
] |
gateway
ip-prefix-name
|
ip-prefix
ip-prefix-name
[
gateway
ip-prefix-name
]
| route-policy
route-policy-name
}
import
Required
Not configured by
default.
Configuring ABR Type-3 LSA Filtering
This task is configured on an ABR to filter Type-3 LSAs to be advertised in the attached non-backbone
area and the Type-3 LSAs to be advertised to other areas.
Follow these steps to configure Type-3 LSA filtering on an ABR: