3-11
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.
Configuring RIP Timers
Follow these steps to configure RIP timers:
To do… Use the command… Remarks
Enter system view system-view ––
Enter RIP view rip [ process-id ] ––