3-5
z Set the preference of RIP to change the preference order of routing protocols. This order makes
sense when more than one route to the same destination is discovered by multiple routing
protocols.
z Redistribute external routes in an environment with multiple routing protocols.
Configuration Prerequisites
Before configuring RIP route control, perform the following tasks:
z Configuring network layer addresses of interfaces so that adjacent nodes are reachable to each
other at the network layer
z Configuring basic RIP functions
Configuring RIP Route Control

Setting the additional routing metrics of an interface

Additional metric is the metric added to the original metrics of RIP routes on an interface. It does not
directly change the metric value of a RIP route in the routing table of a router, but will be added to
incoming or outgoing RIP routes on the interface.
Follow these steps to set additional routing metric:
To do... Use the command... Remarks
Enter system view system-view
Enter interface view interface interface-type interface-number
Set the additional routing
metric to be added for
incoming RIP routes on this
interface
rip metricin value Optional
0 by default
Set the additional routing
metric to be added for
outgoing RIP routes on this
interface
rip metricout value Optional
1 by default
The rip metricout command takes effect only on the RIP routes learnt by the router and the RIP routes
generated by the router itself, but the command is invalid for any route imported to RIP from other
routing protocols.

Configuring RIP route summarization

Rip route summarization means that when the router advertises RIP updates, different subnet routes in
the same natural network segment can be aggregated into one route with a natural mask for
transmission to another network segment. This function is used to reduce the routing traffic on the
network as well as the size of the routing table.
When it is necessary to advertise RIP route updates in a subnet, disable the route summarization for
RIP-2.