Operation Manual – IPv4 Routing
H3C S3610&S5510 Series Ethernet Switches
Chapter 3 OSPF Configuration
3-29
3.6.3 Configuring OSPF Inbound Route Filtering
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
]*
Required
Configure inbound route
filtering
filter-policy
{
acl-number
|
ip-prefix
ip-prefix-name
|
gateway
ip-prefix-name
}
import
Required
Not configured by default
Note:
Since OSPF is a link state-based interior gateway protocol, routing information is
contained in LSAs. However, OSPF cannot filter LSAs. Using the
filter-policy import
command is to filter routes computed by OSPF, and only routes not filtered out are
installed into the routing table.
3.6.4 Configuring ABR Type-3 LSA Filtering
Follow these steps to configure Type-3 LSA filtering 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
instance-name
] *
—
Enter area view
area
area-id
—
Configure ABR Type-3
LSA filtering
filter
{
acl-number
|
ip-prefix ip-prefix-name
}
{
import
|
export
}
Required
Not configured by default