The RIP resource implements the homonym routing protocols RIP1 and RIP2 for TCP/IP networks. RIP1 and RIP2 protocols periodically extract information from IP Routings table and send them to the neighbour systems.
Sent information are:
a list of destination networks managed by the IP router of Abilis CPX;
the “distance” (or metric) needed to reach the destination networks.
Activating the “Routing Protocol”
    (RP) in the IP
    Resource is needed.
Add the resource to the Abilis system with the following command.
[15:43:30] ABILIS_CPX:a res:ripRES:RIP ALREADY EXISTS
The RIP resource may already exist in the system, but may not yet be active: set it active with the command:
[16:02:48] ABILIS_CPX:s act res:ripCOMMAND EXECUTED
| ![[Caution]](../images/caution.png) | Caution | 
|---|---|
| After adding or setting the RIP active, you must restart the Abilis to make the resource running (use the command warm start to reboot the Abilis). | 
[11:01:39] ABILIS_CPX:s p rip act:yesCOMMAND EXECUTED [11:01:39] ABILIS_CPX:d p ripRES:Rip - Not Saved (SAVE CONF), Not Refreshed (INIT) ------------------------- ------------------------------------------------------------------------ Run DESCR:Routing_Information_Protocol LOG:NO ACT:YES locport:520 fifo:15 max-routes:500 SH:PR AUT:NO PWD: UT:30 LT:180 GT:120 ASBR:YES - ASBR section --------------------------------------------------------- LOCAL:YES STATIC:YES OSPF:NO LOCAL-METRIC:* STATIC-METRIC:* OSPF-METRIC:* DEF-METRIC:1
Use the following command to display the parameters of the resource; the command d p rip ? displays the meaning of all parameters.
[16:02:53] ABILIS_CPX:d p ripRES:Rip ----------------------------------------------------------------------- Run DESCR:Routing_Information_Protocol LOG:NO ACT:YES locport:520 fifo:15 max-routes:500 SH:PR AUT:NO PWD: UT:30 LT:180 GT:120 ASBR:YES - ASBR section --------------------------------------------------------- LOCAL:YES STATIC:YES OSPF:NO LOCAL-METRIC:* STATIC-METRIC:* OSPF-METRIC:* DEF-METRIC:1
Meaning of the most important parameters:
LOGLogging functionalities activation/deactivation.
ACTRIP runtime activation/deactivation.
udp-locportRIP local UDP port [520]
fifoNumber of buffers in the RIP fifo [1..50]
maxroutesMaximum number of routes in the route table [500..10000]
SHSplit Horizon: this parameter sets the routing update mode
            used by the RIP resource [NO: update
            information sent by the RIP resource on the net will include all
            the IP routings stored in the IP routing table;
            YES: update information sent by the RIP
            resource on the net will only include those routings not obtained
            from the interface where the information are sent to. This
            updating procedure is referred as “Split Horizon”;
            PR: routings should not be included in the
            update information, however they are sent as well but their metric
            is set to 16 hops. This updating procedure is referred as
            “Split Horizon and Poison Reverse”].
AUTThis parameter sets the authentication functionality of
            information received and forwarded by the RIP resource
            [NO: no authentication is applied on the
            information exchanged by the Abilis CPX with other routers;
            STD: authentication algorithm includes sending
            update messages of the password as it is set in the parameter
            PWD; MD5: the algorithm MD5
            is used for authenticating the update messages jointly with the
            password set in the parameter PWD].
PWDIt sets the password used for the authentication function.
UTRIP updates period [10..600]
LTRIP route life time [30..1800]
GTRIP garbage collection period [10..1800]
ASBRAutonomous System Boundary Router: the router locates in
            point where RIP AS connects with other AS that does not use RIP
            routing protocol. An ASBR is used to distribute routes received
            from other ASs throughout its own AS. Usually this parameter will
            set to YES, because only in this case RIP can
            import external routing. In case that ASBR is set to
            NO, RIP table will be filled only by routings
            obtained by other RIP routers in the network.
LOCAL, STATIC, OSPFEnables/disables usage of LOCAL, STATIC and OSPF routes for
            the redistribution into RIP [NO,
            YES];
LOCAL-METRIC, STATIC-METRIC, OSPF-METRICMetric used to redistribute LOCAL, STATIC and OSPF routes
            imported from the IPRTR route table into RIP
            [0..16,
            *]; the value * stands for
            “use default”, i.e. indicates to use the DEF-METRIC parameter value.
DEF-METRICIt sets the default metric value that will be used for redistribution routes, of any type, imported from the IPRTR routing table into RIP. Used when a “protocol specific” value does not override it.
The following command allows the administrator to change the configuration of the resource:
s p rip   parameter:value... 
| ![[Caution]](../images/caution.png) | Caution | 
|---|---|
| To activate the changes made on the upper case parameters, execute the initialization command init res:rip; while to set act the changes made on the lowercase parameters a save conf and an Abilis restart are required (i.e. with warm start command). | 
Normally you don't need to configure all the listed parameters. Many of them belong to the RIP protocol advanced options, which are optional.
The basic options are LOG:YES to activate resource,
      and ASBR:YES to allow
      import of external routing.