Configuring RIP route redistribution

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

To configure RIP route redistribution:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter RIP view.

rip [ process-id ] [ vpn-instance vpn-instance-name ]

N/A

3. Redistribute routes from another routing protocol.

import-route protocol [ as-number ] [ process-id | all-processes | allow-ibgp ] [ allow-direct | 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.