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 [ process-id | all-processes | allow-ibgp ] [ cost cost | 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.) Configure a default cost for redistributed routes.

default cost value

The default setting is 0.