Routing Configuration Guide, Cisco IOS XE Catalyst SD-WAN Release 17.x

PDF

Configure RIPv2 using the CLI

Want to summarize with AI?

Log in

Overview

Enables the routing process and sets up VRF-aware support on your devices. This task guides you through specifying versions, configuring route summarization, and redistributing protocols to ensure consistent IPv4 connectivity across your service and transport segments.

Use this task to configure RIPv2 on Cisco IOS XE Catalyst SD-WAN devices via the Command Line Interface (CLI).

This section provides detailed instructions for configuring RIPv2, including process setup, VRF-aware support, route summarization, and various other RIP parameters. You can apply the configuration using CLI device templates or CLI Add-on feature templates.

Before you begin

You must complete the initial VRF routing table and address family submode configurations on the device. You can run these commands in any order.

Follow these steps to configure RIPv2 using the CLI:

Procedure

1.

Configure the RIP routing process.

Enable a RIP routing process and enter router configuration mode.

Device# config-transaction
Device(config)# router rip
Device(config-router)#
2.

Configure the RIP VRF-aware support.

Enter VRF address family configuration mode and enable IPv4 address prefixes.

Device(config)# router rip
Device(config-router)# address-family ipv4 vrf vrf-name
3.

Specify the RIP version.

Specify RIP version as 2 to enable the device to send only RIP version 2 (RIPv2) packets:

Device(config)# router rip
Device(config-router)#  version {1|2}
4.

Configure RIP routes summarization.

Disable or restore the default behavior of automatic summarization of subnet routes into network-level routes used in router configuration mode:

Device(config)# router rip
Device(config-router)# auto-summary
5.

Validate the source IP address.

Enable a router to perform validation checks on the source IP address of incoming RIP updates:

Device(config)# router rip
Device(config-router)# network ip-address
Device(config-router)# validate-update-source
6.

Configure interpacket delay.

Configure interpacket delay for outbound RIP updates, in milliseconds:

Device(config)# router rip
Device(config-router)# output-delay delay-value
7.

Redistribute the routes into the RIP routing process.

Redistribute the specified routes into the IPv4 RIP routing process. Only configure protocol redistribution after you configure the source router protocols. The protocol argument can be one of these keywords.

  • bgp

  • connected

  • isis

  • eigrp

  • omp

  • ospf

  • ospfv3

  • static

  • static

In Cisco IOS XE Catalyst SD-WAN Release 17.7.1aa, RIP Version 2 configurations in Cisco IOS XE Catalyst SD-WAN devices support OMP as a redistributed protocol.
Device(config)# router rip
Device(config-router)# redistribute protocol [metric metric-value] [route-map map-name]
8.

Filter the RIP-routing updates.

Apply a prefix list to the RIP-routing updates that are received in or sent over an interface:

Device(config)# router rip
Device(config-router)# distribute-list prefix-list listname {in | out} [interface-type interface-number]
9.

Configure the RIP parameters.

The network command is required to enable interfaces for RIP(v2), and to associate a network with a RIP routing process. There's no limit on the number of network commands that you can use on the router. Use classful (Class A, Class B, Class C) IP network ID addressing for network configurations.

Device(config)# router rip
Device(config-router)# network ip-address
  1. Define a neighboring device with which to exchange routing information.

    Device(config)# router rip
    Device(config-router)# network ip-address
    Device(config-router)# neighbor ip-address bfd
  2. Apply an offset list to routing metrics:

    Device(config)# router rip
    Device(config-router)# offset-list acl-number in offset[ interface-type |interface-name]
  3. Adjust routing protocol timers:

    Device(config)# router rip
    Device(config-router)# timers basic update invalid holddown flush
10.

Customize a RIP.

Define the maximum number of equal-cost routes that an IPv4 RIP can support:

Device(config)# router rip
Device(config-router)# maximum-paths number-paths
11.

Configure a route tag.

By default, automatic RIPv2 route tag is enabled for redistributed OMP routes. When a router is installed by another Cisco IOS XE Catalyst SD-WAN device, the admin distance is set to 252 so that OMP routes are preferred over redistributed OMP routes:

Device(config)# router rip
Device(config-router)# omp-route-tag
12.

Configure the traffic.

Configure traffic to use minimum-cost paths, and load splitting on multiinterfaces with equal-cost paths:

Device(config)# router rip
Device(config-router)# traffic-share min across-interfaces

RIPv2 is configured on the Cisco IOS XE Catalyst SD-WAN device.

What to do next

Verify the RIPv2 configurations using the CLI. For more details, see the Verification commands for RIPv2 configuration.

The following is a complete example of RIP configuration for Cisco IOS XE Catalyst SD-WAN devices using the CLI:

config-transaction
!    
       vrf definition 172
       address-family ipv4
       exit-address-family
!
       router rip
       address-family ipv4 vrf 172 
       distance 70
       omp-route-tag /* Default is enabled */
       default-information originate route-map RIP-MED
       version 2
       network 10.0.0.20    /* Only classful A, B, or C network. */
	distribute-list prefix v4KANYU-RIP in TenGigabitEthernet0/1/3.791 
	redistribute rip v6kanyu metric 1 metric-type 1 route-map v6RED-RIP-OSPF1
	distribute-list prefix v4KANYU-RIP in TenGigabitEthernet0/1/3.792
	no auto-summary 
!