Command Reference Guide

134filter-policy 3Com Router 5000 Family and Router 6000 Family
Command Reference
filter-policy
Purpose Use the filter-policy export command to configure the filtering conditions of
the routing information advertised by a certain type of routing protocols.
Use the undo filter-policy export command to cancel the filtering
conditions set.
Syntax filter-policy { acl-number | ip-prefix ip-prefix-name } export [
protocol ]
undo filter-policy { acl-number | ip-prefix ip-prefix-name } export [
protocol ]
Parameters acl-number
Number of the access control list used for matching
the destination address field of the routing
information.
ip-prefix-name
Address prefix list used for matching the routing
information destination address field.
protocol
Routing information of which kind of route protocol to
be filtered.
Default By default, the advertised routing information is not filtered.
Example Define the filtering rules for advertising the routing information of RIP. Only the
routing information passing the filtering of address prefix list p1 will be advertised by
RIP.
[3Com -rip] filter-policy ip-prefix p1 export
View This command can be used in the following views:
Routing Protocol view
Description 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 filtering can be advertised.
Related Command filter-policy import