Command Reference Guide
3Com Router 5000 Family and Router 6000 Family filter-policy export ● 135
Command Reference
filter-policy export
Purpose Use the filter-policy export command to configure OSPF to filter the LSAs of
redistributed routes for advertisement.
Use the undo filter-policy export command to cancel the filtering rules that
have been set.
Syntax filter-policy { acl-number | ip-prefix ip-prefix-name } export [
routing-protocol ]
undo filter-policy {acl-number | ip-prefix ip-prefix-name} export [
routing-protocol ]
Parameters acl-number
Access control list number.
ip-prefix-name
Name of the address prefix list.
routing-protocol
Protocol advertising the routing information, including
direct, isis, bgp, rip and static at present.
Default By default, no LSA filtering is performed for any type of route.
Example Configure OSPF to advertise only the routing information permitted by acl 2001.
[3Com ] acl number 2001
[3Com -acl-basic-1] rule permit source 11.0.0.0 0.255.255.255
[3Com -acl-basic-1] rule deny source any
[3Com -ospf] filter-policy 2001 export
View This command can be used in the following views:
■ OSPF view
Description In some cases, it may be required that only the routing information meeting some
conditions be advertised. Then, the filter-policy command can be used to
configure the filtering conditions for the routing information to be advertised. Only
the routing information passing the filtration can be advertised.
Related Commands ■ acl
■ ip ip-prefix