3com 8807 참조 가이드
438
C
HAPTER
25: OSPF C
ONFIGURATION
C
OMMANDS
Description
Use the filter-policy export command to configure the rule used by OSPF to filter
advertised routing information.
advertised routing information.
Use the undo filter-policy export command to cancel the filtering rules that
have been set.
have been set.
By default, no filtering of the advertised routing information is performed.
In some cases, it may be required that only the routing information meeting some
conditions can be advertised. Then, the filter-policy command can be used to set
the filtering conditions for the routing information to be advertised. Only the
routing information passing the filtration can be advertised.
conditions can be advertised. Then, the filter-policy command can be used to set
the filtering conditions for the routing information to be advertised. Only the
routing information passing the filtration can be advertised.
This command takes effect on the routes imported by OSPF using the
import-route command. If the routing-protocol argument is specified, only the
routes imported from this specified protocol are filtered. If the routing-protocol
argument is not specified, all imported routes are filtered.
import-route command. If the routing-protocol argument is specified, only the
routes imported from this specified protocol are filtered. If the routing-protocol
argument is not specified, all imported routes are filtered.
Related command: acl, ip ip-prefix.
Example
# Configure OSPF to advertise only the routing information permitted by 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] filter-policy 2000 export
filter-policy export
Syntax
filter-policy { acl-number | ip-prefix ip-prefix-name } export
undo filter-policy { acl-number | ip-prefix ip-prefix-name} export
View
OSPF area view
Parameter
acl-number: Specifies the number of the basic or advanced ACL used for filtering
Type-3 LSAs.
Type-3 LSAs.
ip-prefix-name: Specifies the name of the address prefix list used for filtering
Type-3 LSAs.
Type-3 LSAs.
Description
Use the filter-policy export command to set the filter condition for the Type-3
LSAs advertised from an OSPF area.
LSAs advertised from an OSPF area.
Use the undo filter-policy export command to cancel the set filter condition.
By default, no advertised Type-3 LSA is filtered.