The filter-policy import command filters the RIP routes received from neighbors, and the routes
being filtered out will neither be added to the routing table nor be advertised to any neighbors.
The filter-policy export command filters all the routes to be advertised, including the routes
redistributed with the import-route command and routes learned from neighbors.
You can also use the filter-policy export command to filter outgoing routes redistributed from a
specified routing protocol.
Setting RIP preference
Follow these steps to set RIP preference:
To do...
Enter system view
Enter RIP view
Set the RIP preference
Configuring RIP to redistribute routes from another protocol
Follow these steps to configure RIP to import routes from another protocol:
To do...
Enter system view
Enter RIP view
Configure a default cost for
an incoming route
Configure RIP to
redistribute routes from
another protocol
RIP Network Adjustment and Optimization
In some special network environments, some RIP features need to be configured and RIP network
performance needs to be adjusted and optimized. By performing the configuration mentioned in this
section, the following can be implemented:
Changing the convergence speed of RIP network by adjusting RIP timers;
Avoiding routing loops by configuring split horizon;
Packet validation in network environments with high security requirements, and
Configuring RIP to unicast RIP messages on interfaces with special requirements.
Use the command...
system-view
rip
preference value
Use the command...
system-view
rip
default cost value
import-route protocol
[ process-id ] [ cost value |
route-policy
route-policy-name ]*
3-7
Remarks
—
—
Required
100 by default
Remarks
—
—
Optional
1 by default
Required
By default, RIP does not redistribute
any route from other protocols.