3Com Switch 8800 Configuration Guide
Chapter 18 RIP Configuration
18-7
II. Configuring RIP to filter the routes advertised by RIP
Table 18-8
Configure RIP to filter the advertised routes
Operation
Command
Configure RIP to filter the
advertised routing information
filter-policy
{
acl
-
number
|
ip-prefix
ip
-
prefix
-
name
}
export
[
routing
-
protocol
]
Cancel filtering the advertised
routing information
undo
filter-policy
{
acl
-
number
|
ip-prefix
ip
-
prefix
-
name
}
export
[
routing
-
protocol
]
By default, RIP does not filter the received and advertised routing information.
Note:
z
The
filter-policy import
command filters the RIP routes received from its neighbors,
and the routes that cannot pass the filter will not be added to the routing table, and
will not be advertised to the neighbors.
z
The
filter-policy export
command filters all the advertised routes, including routes
imported by the
import-route
command, and RIP routes learned from the
neighbors.
z
If the
filter-policy export
command does not specify which route to be filtered, then
all the routes imported by the
import-route
command and the advertised RIP
routes will be filtered.
18.2.8 Disabling RIP to Receive Host Route
In some special cases, the router can receive a lot of host routes, and these routes are
of little help in route addressing but consume a lot of network resources. Routers can
be configured to reject host routes by using the
undo host-route
command.
Perform the following configuration in RIP view.
Table 18-9
Disable RIP to receive host route
Operation
Command
Enable receiving host route
host-route
Disable receiving host route
undo host-route
By default, the router receives the host route.