3com 8807 Reference Guide

Page of 1099
OSPF Configuration Commands
439
In some situations, it may be required that only some Type-3 LSAs meeting a 
certain condition be advertised. In this case, you can define a Filter-policy to set the 
filter condition for advertised Type-3 LSAs so that only the Type-3 LSAs having 
passed the filtration can be advertised.
Use the filter-policy export command to filter the Type-3 LSAs generated locally 
in an OSPF area so that only those Type-3 LSAs having passed the filtration can be 
added into the link state database of the other areas. The filtration is implemented 
according to the link state ID of the Type-3 LSAs.
Related command: aclip ip-prefix.
Example
# Configure the filter condition so that the OSPF backbone area advertises only 
those Type-3 LSAs having passed ACL 2000.
[SW8800] acl number 2000
 
[3Com-acl-basic-2000] rule permit source 11.0.0.0  0.255.255.255
 
[3Com-acl-basic-2000] rule deny source any
 
[3Com-ospf-1-area-0.0.0.1] filter-policy 2000 export 
filter-policy import
Syntax
filter-policy { acl-number | ip-prefix ip-prefix-name | gateway ip-prefix-name } 
import
undo filter-policy { acl-number | ip-prefix ip-prefix-name | gateway 
ip-prefix-name } import
View
OSPF view
Parameter
acl-number: Number of a basic or advanced access control list used for filtering 
the destination addresses of the routing information.
ip-prefix-name: Name of the address prefix list used for filtering the destination 
addresses of the routing information.
gateway ip-prefix-name: Name of the address prefix list used for filtering the 
addresses of the neighboring routers advertising the routing information.
Description
Use the filter-policy import command to configure the OSPF rules of filtering the 
routing information received.
Use the undo filter-policy import command to cancel the filtering of the routing 
information received.
By default, no filtering of the received routing information is performed.
In some cases, it may be required that only the routing information meeting some 
conditions can be received. Then, the filter-policy command can be used to set