RIP Configuration

Basic elements for configuration

Starting RIP can be done by using a very simple configuration. Example below illustrates a basic configuration setup with one network configured. Automatically, RIP will operate over all the interfaces where an IP address is defined, whose network address is included in the provided network prefix. Network addresses included in this prefix and defined on these interfaces will be advertised.

vrf main
    routing rip

As mentioned in above config, RIP is activated, with providing network prefix. It is also possible to provide interface name. If an interface name is provided, RIP will then be activated on this interface and all IPv4 network prefixes defined on this interface will be advertised.

vrf main
    routing rip
      interface eth1_0

RIP can be stopped by using following command:

vrf main
    del routing rip

Alternatively, it is also possible to just disable RIP without having to remove the whole configuration.

vrf main
    routing rip enabled false

Currently, only one RIP instance is supported for the whole Turbo IPsec. However, it is possible to store the configuration and set it to false. Below example illustrates that only rip instance from VRF vrf1 is available on the Turbo IPsec.

vrf main
    routing rip enabled false
    routing rip network
vrf vrf1
    routing rip network

Verifying RIP configuration

The following commands can be used to verify RIP operation.

show rip

This command displays the RIB of the RIP protocol.

vrouter> show rip
Codes: R - RIP, C - connected, S - Static, O - OSPF, B - BGP
(n) - normal, (s) - static, (d) - default, (r) - redistribute,
(i) - interface

     Network         Next Hop   Metric  From      Tag   Time
C(i)         1  self        0
C(i)         1  self        0
R(n)        2    0   02:36
R(n)        2    0   02:29

The display of show rip is composed of 7 columns, and describes the RIB of the RIP routing protocol:


describes the RIB source, the differents codes are explained in the beginning of the output of show rip command


describes the learnt prefix (Destination prefix) with its subnet mask

Next Hop

indicates the next hop to this destination ( means itself).


indicates the hop count to the destination prefix


indicates the router that advertises the destination prefix


this tag normally should be set to 0


the validity time. By default, it is set to 3 minutes when a RIP route is received.

show rip status

This command displays Turbo IPsec running state of RIP.

vrouter> show rip status
Routing Protocol is "rip"
  Sending updates every 30 seconds with +/-50%, next due in 18 seconds
  Timeout after 180 seconds, garbage collect after 120 seconds
  Outgoing update filter list for all interface is not set
  Incoming update filter list for all interface is 1
  Default redistribution metric is 1
  Default version control: send version 2, receive any version
  Interface      Send Recv Key-chain
   eth0_0        2    1 2
   eth1_0        2    1 2
  Routing for Networks:
  Routing Information Sources:
   Gateway       BadPackets BadRoutes Distance Last Update            0         0      120   00:00:07
  Distance: (default is 120)

This command gives the following information about RIP:

  • The interfaces on which RIP has subscribed to the multicast group

  • RIP timers

  • Access-lists configured

  • Redistribution configured

  • RIP version configured (version 2 is the default)

  • Interfaces participing in RIP updates (or RIP multicast group).

  • Routing sources

  • Gateways (in this case they are the RIP neighbors)

  • Administrative distance

See also

See the corresponding RIP options described in this document.