Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 6 IP Routing Policy Configuration
Commands
3Com Corporation
6-10
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.
Description
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.
By default, the received routing information is not filtered.
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.
Related command: filter-policy export.
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
6.1.14 if-match acl
Syntax
if-match acl acl-number
undo if-match [ acl acl-number ]
View
Routing policy view
Parameter
acl-number: Specifies the number of the access control list used for filtering.
ip-prefix-name: Specifies the name of the prefix address list used for filtering.
Description
Use the if-match acl command to configure the IP address range to match the
route-policy.