Configuring RIP route redistribution

Perform this task to configure RIP to redistribute routes from other routing protocols, including static routes and direct routes.

To configure RIP route redistribution:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter RIP view.

rip [ process-id ]

N/A

3. Redistribute routes from another routing protocol.

import-route protocol [ process-id | all-processes] [ cost cost-value | route-policy route-policy-name | tag tag ] *

By default, RIP route redistribution is disabled.

This command can redistribute only active routes. To view active routes, use the display ip routing-table protocol command.

4. (Optional.) Set a default cost for redistributed routes.

default cost cost-value

The default setting is 0.