Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 3 OSPF Configuration Commands
3Com Corporation
3-33
View
OSPF view
Parameter
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.
Description
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.
By default, no LSA filtering is performed for any type of route.
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 command: acl and ip ip-prefix.
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
3.1.28 filter-policy import
Syntax
filter-policy { acl-number | ip-prefix ip-prefix-name | gateway prefix-list-name }
import
undo filter-policy { acl-number | ip-prefix ip-prefix-name | gateway ip-prefix-name }
import
View
OSPF view