RIP Configuration Procedures

RIP Basic Configuration

There are two basic configuration steps for RIP:

  1. Activate RIP routing process
  2. Enable RIP on the interface

To activate RIP routing process, use the following command in global configuration mode

Activate RIP routing process

(config)#router rip

Then, to enable RIP on the interface, use the following command in RIP configuration mode.

Enable RIP on the interface

(config-router)#network <network-address>

<network-address> : Classfull Network address

Note that RIP is enabled on a per-interface basis, but the configuration does not specify the interface. In Cisco routers, the concept of configuration is to enable RIP on interfaces with IP addresses in the range included in the network address specified by the network command. Also, the network address you specify is a classful network address. In classless addressing environments, such as subnetting or summarization, it may not be possible to specify in detail which interfaces to enable RIP on.

An interface with RIP enabled will perform the following behavior.

  • Send and receive RIP packets on the interface
  • Register the network address of the enabled interface as a RIP route in the RIP database.

RIP packets are periodically sent as broadcast or multicast from the RIP enabled interface. Then it receives the RIP packets. To receive multicast packets for RIPv2, the interface joins the multicast group of

In addition, the network address of the RIP-enabled interface is registered in the RIP database as a RIP route so that it can be advertised to other routers. The route information advertised by RIP is not the contents of the routing table, but the route information in the RIP database. An example of the RIP configuration is shown below.

図 RIPの設定
図 RIPの設定

“network” is a command to enable RIP on an interface with an IP address beginning with “10”. In other words, enable RIP on Fa0/1. Can only be specified in classful. If you enter the command “network”, it will automatically be replaced by “network”.

Then, register Fa0/1’s network address “” in the RIP database. RIP packets sent from the interface will now include the route information of

And “network” is the command to enable RIP on the interface with IP address starting with “192.168.1”, i.e. Fa0/0. The network address “” of Fa0/0 will be registered in the RIP database, and the route information of the RIP packets to be sent will include

Configure RIP version

There are two versions of RIP: v1 and v2. When RIP is enabled with the network command, the default RIP version for that interface is as follows

Send : v1
Receive : v1/v2

Since the version of RIP packets to be sent is v1, the default is to operate with v1. To change the version, use the following command in RIP configuration mode.

Configure RIP version

(config)#router rip
(config-router)#version 2

It is unlikely that you would dare to use RIPv1, so you should always consider this configuration to be included.

Disable auto-summary

RIP automatically summarize and advertises route information by default. To disable auto summary, use the following command in RIP configuration mode.

Disable auto-summary

(config)#router rip
(config-router)#no auto-summary

It is also unlikely that you will use auto-summary, so consider including the no auto-summary command.

Disable split-horizon

To disable split-horizon, use the following command in interface configuration mode.

Disable split-horizon

(config)#interface <interface-name>
(config-if)#no ip split-horizon

<interface-name> : interface name


RIP packets only need to be sent and received between RIP routers; there is no need to send RIP packets to hosts such as PCs or servers. Specify passive-interface for interfaces that do not need to send RIP packets.

Configure passive-interface

(config)#router rip
(config-router)#passive-interface <interface>

<interface> : interface name to be a passive-interface

Change RIP timers

To change the value of the RIP timer from the default, use the following command in the RIP routing process

Change RIP timers

(config)#router rip
(config-router)#timers basic <update> <invalid> <holddown> <flush>

<update> : Update timer
<invalid> : Invalid timer
<holddown> : Hold down timer
<flush> : Flush timer

If you change the timer on only one router, it will be inconsistent with the timer values on other routers. Please change the timer on all the related routers.

Verify RIP behavior

The following table summarizes the commands for verifying the behavior of RIP.

show commandSummary
#show ip portocols Displays information such as RIP enabled interfaces and RIP timers.
#show ip rip database Displays the RIP route information to be sent and received.
#show ip route rip Displays only RIP routes in the routing table.
#debug ip rip Real-time verification of RIP route information being sent and received.
Table RIP Verification commands