Command Reference Guide

3Com Router 5000 Family and Router 6000 Family filter-policy gateway 139
Command Reference
filter-policy gateway
Purpose Use the filter-policy gateway import command to filter the routing
information advertised by a specified router.
Use the undo filter-policy gateway import command to cancel the
setting of the filtering condition.
Use the filter-policy import command to configure the condition for
filtering the routing information.
Use the undo filter-policy import command to cancel the setting of filter
condition.
Syntax filter-policy gateway ip-prefix-name import
undo filter-policy gateway ip-prefix-name import
filter-policy { acl-number | ip-prefix ip-prefix-name } import
undo filter-policy { acl-number | ip-prefix ip-prefix-name } import
Parameters acl-number
Access control list number used for matching the
destination address field of the routing information.
ip-prefix ip-prefix-name
Prefix address list name. Its matching object is the
destination address field of the routing information.
gateway ip-prefix-name
Prefix address list name of the neighbor router address.
Its matching object is the routing information
advertised by the specified neighbor router.
Default By default, the received routing information is not filtered.
Example Define the filtering rule for receiving routing information of RIP. Only the routing
information filtered through the address prefix list p1 can be received by RIP.
[3Com -rip] filter-policy ip-prefix p1 import
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 received. Then, the
filter-policy command can be used to set
the filtering conditions.
acl-number is the access control list number used for
filtering the destination addresses of the routing information and
ip-prefix
parameter is used to filter the routing information specified destination address.