Using the filter-policy ip-prefix import command, you can filter the global routing
information received. Using the undo filter-policy ip-prefix import command, you
can cancel the filter.
Using the filter-policy ip-prefix gateway import command, you can filter the routing
information received from the specified address and that matching the prefix-list.
Using the undo filter-policy ip-prefix gateway import command, you can cancel the
filter.
By default, disable filtering.
You can define the range of the routes received by RIP by specifying the access list
and prefix list.
For related commands, see acl.
Example
# Set route imported through access-list 3.
[3Com-rip] filter-policy 3 import
2.1.7 host-route
Syntax
host-route
undo host-route
View
RIP view
Parameter
None
Description
Using the host-route command, you can enable receiving the host route. Using the
undo host-route command, you can disable this function (reject the host route).
By default, enable receiving of the host route.
In some special circumstances, RIP will receive lots of the host routes from the same
hop. These routes may not be helpful in routing, but may occupy a lot of resources.
If user wants to reject the host route, use the undo host-route command.
Routing Protocol
19