1-11
Configuring a Priority for RIP
Multiple IGP protocols may run in a router. If you want RIP routes to have a higher priority than those
learned by other routing protocols, you can assign RIP a smaller priority value to influence optimal route
selection.
Follow these steps to configure a priority for RIP:
To do…
Use the command…
Remarks
Enter system view
system-view
––
Enter RIP view
rip
[
process-id
]
––
Configure a priority for RIP
preference
[
route-policy
route-policy-name
]
value
Optional
100 by default
Configuring RIP Route Redistribution
If a router runs RIP and other routing protocols, you can configure RIP to redistribute static or direct
routes.
Follow these steps to configure RIP route redistribution:
To do…
Use the command…
Remarks
Enter system view
system-view
––
Enter RIP view
rip
[
process-id
]
––
Configure a default metric for
redistributed routes
default cost value
Optional
The default metric of a
redistributed route is 0 by
default.
Redistribute routes from
another protocol
import-route protocol
[
process-id
|
all-processes
]
[
cost cost
|
route-policy
route-policy-name
|
tag tag
] *
Required
No redistribution is configured
by default.
Only active routes can be redistributed. You can use the
display ip routing-table
protocol
command
to display route state information.
Configuring RIP Network Optimization
Complete the following tasks before configuring RIP network optimization:
z
Configure network addresses for interfaces, and make neighboring nodes reachable to each other;
z
Configure RIP basic functions.