3Com Switch 8800 Configuration Guide
Chapter 22 IP Routing Policy Configuration
22-9
Operation
Command
Cancel the setting for importing
routes of other protocols
undo import-route protocol
By default, the routes discovered by other protocols will not be advertised.
Note:
In different routing protocol views, the parameter options are different. For details,
respectively refer to the
import-route
command in different protocols.
22.2.6 Configuring Route Filtering
I. Configuring to filter the received routes
Perform the following configuration in routing protocol view.
Define a policy to filter the routing information not satisfying the conditions while
receiving routes with the help of an ACL or address prefix-list.
gateway
specifies that
only the update packets from a particular neighboring router will be received.
Table 22-8
Configure to filter the received routes
Operation
Command
Configure to filter the received routing
information advertised by the specified
address
filter-policy gateway
ip
-
prefix
-
name
import
Cancel the filtering of the received
routing information advertised by the
specified address
undo filter-policy gateway
ip
-
prefix
-
name
import
Configure to filter the received global
routing information
filter-policy
{
acl
-
number
|
ip-prefix
ip
-
prefix
-
name
}
[
gateway
]
import
Cancel the filtering of the received global
routing information
undo filter-policy
{
acl
-
number
|
ip-prefix ip
-
prefix
-
name
}
[
gateway
]
import
II. Configuring to filter the advertised routes
You may define a route advertisement policy to filter advertised routing information.
This can be done by referencing an ACL or IP prefix-list to filter routing information that
does not meet the conditions, or by specifying a protocol to filter routing information of
the protocol only.
Perform the following configuration in routing protocol view.