Command Reference Guide
144 ● filter-policy import 3Com Router 5000 Family and Router 6000 Family
Command Reference
filter-policy import
Purpose Use the filter-policy gateway import command to filter the learned
routing information advertised by the specified address.
Use the undo filter-policy gateway import command to remove the
filtering to the routing information advertised by the specified address.
Use the filter-policy import command to filter the received global routing
information. Use the
undo filter-policy import command to remove the
filtering to the received global routing information.
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
Specifies the number of ACL matching the destination
address field of routing information, ranging from
2000 to 3999.
ip-prefix ip-prefix-name
Address prefix list name. The matched object is the
destination address field of the routing information,
ranging from 1 to 19.
gateway ip-prefix-name
Address prefix list name of the neighboring router. The
matched object is the routing information distributed
by the specified neighboring router, ranging from 1 to
19.
Default By default, the received routing information is not filtered.
Example Use acl 2003 to filter the routing information received by BGP.
[3Com -bgp] filter-policy 2003 import
View This command can be used in the following views:
■ BGP Unicast view
■ BGP Multicast view
■ VPNv4 view
■ VPN Instance view
Description This command can be used to filter the routes received by BGP and determines
whether to add the routes to the BGP routing table.