Configuring RIP Version


The versions of RIP include RIPv1 and RIPv2, which have different functions. RIPv1 is a Classful Routing Protocol, which only supports protocol messages in broadcast mode. RIPv2 is a Classless Routing Protocol that supports sending update messages in multicast mode. RIPv1 does not support either route aggregation or Discontiguous Subnet. But RIPv2 supports both features. Users can configure the version number of RIP on the device running RIP protocol as needed.

Figure 1 and Figure 2 show the packet format of RIPv1 and RIPv2.

Figure 1. RIPv1 Packet Format

Figure 2. RIPv2 Packet Format

The set protocols rip [vrf <vrf-name>] version <1|2> command configures the RIP version to accept for receiving and sending RIP packets. RIP version can be either RIPv1 and RIPv2.  By default, RIP version is RIPv2. The optional parameter vrf can be used to specify RIP for a particular VRF. If VRF is not defined then RIP takes effect for the default VRF.

This example configures RIP version to RIPv1.

admin@PICOS# set protocols rip version 1
admin@PICOS# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.