3-7
z 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.
z 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.
z 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... Use the command... Remarks
Enter system view system-view
Enter RIP view rip
Set the RIP preference preference value Required
100 by default

Configuring RIP to redistribute routes from another protocol

Follow these steps to configure RIP to import routes from another protocol:
To do... Use the command... Remarks
Enter system view system-view
Enter RIP view rip
Configure a default cost for
an incoming route default cost value Optional
1 by default
Configure RIP to
redistribute routes from
another protocol
import-route protocol
[ process-id ] [ cost value |
route-policy
route-policy-name ]*
Required
By default, RIP does not redistribute
any route from other protocols.
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:
z Changing the convergence speed of RIP network by adjusting RIP timers;
z Avoiding routing loops by configuring split horizon;
z Packet validation in network environments with high security requirements, and
z Configuring RIP to unicast RIP messages on interfaces with special requirements.