Minimum RIP Configuration

For a routing device to accept RIP routes, you must include at least the rip, group, and neighbor statements. Routes received from routing devices that are not configured as neighbors are ignored. All other RIP configuration statements are optional. This minimum configuration defines one neighbor. Include one neighbor statement for each interface on which you want to receive routes. The local routing device imports all routes by default from this neighbor and does not advertise routes. The routing device can receive both version 1 and version 2 update messages, with 25 route entries per message. For routing instances, include the statements at the [edit routing-instances routing-instance-name protocols rip] hierarchy level.

protocols {rip {group group-name {neighbor interface-name {}}}}

Note: When you configure RIP on an interface, you must also include the family inet statement at the [edit interfaces interface-name unit logical-unit-number] hierarchy level. For more information about the family inet statement, see the Junos Network Interfaces Configuration Guide.