Configure RIP Globally

Configure RIP parameters on the switch so you can control RIP behavior on the system.

Before you begin

  • You configure RIP on a VRF instance the same way you configure the GlobalRouter, except that you must use VRF Router Configuration mode and the prefix ip rip. The VRF must have an RP Trigger of RIP. Not all parameters are configurable on non0 VRFs.

About this task

All router interfaces that use RIP use the RIP global parameters. Both brouter ports and VLAN virtual routing interfaces use the same RIP global parameters.

You can configure RIP on interfaces while RIP is globally disabled. This way, you can configure all interfaces before you enable RIP for the switch.

Procedure

  1. Enter RIP Router Configuration mode:

    enable

    configure terminal

    router rip

  2. Define the default-import-metric for the switch:

    default-metric <0-15>

  3. Optional: Configure one or more timer values:

    timers basic timeout <15–259200> [holddown <0–360>] [update <1–360>]

  4. Enable RIP on an IP network:

    network {A.B.C.D}

  5. Exit to Global Configuration mode:

    exit

  6. After the configuration is complete, enable RIP globally:

    router rip enable


  7. Check that your configuration is correct:

    show ip rip [vrf WORD<1-16>] [vrfids WORD<0-512>]

Example

Define the default-import-metric as 1, the timeout interval as 180, the holddown time as 120, and the update time as 30. Enable RIP on an IP network, and ensure your configuration is correct.

Switch:1>enable
Switch:1#configure terminal
Switch:1#router rip
Switch:1(config-rip)#default-metric 1
Switch:1(config-rip)#timers basic timeout 180 holddown 120 update 30
Switch:1(config-rip)#network 192.0.2.11
Switch:1(config-rip)#exit
Switch:1(config)#router rip enable
Switch:1(config)#show ip rip
================================================================================
                           RIP Global - GlobalRouter
================================================================================
 Default Import Metric : 1
         HoldDown Time : 120
               Queries : 0
                   Rip : Enabled
         Route Changes : 0
      Timeout Interval : 180
           Update Time : 30

Variable definitions

The following table defines parameters for the RIP commands.

Variable

Value

default-metric <0-15>

Configures the value of default import metric to import a route into a RIP domain. To announce OSPF internal routes into RIP domain, if the policy does not specify a metric value, the default is used. For OSPF external routes, the external cost is used. The default is 8.

domain <0-39321>

Specifies the RIP domain from 0–39321. The default is 0.

holddown <0-360>

Configures the RIP hold-down timer value, the length of time (in seconds) that RIP continues to advertise a network after it determines that the network is unreachable. The default is 120.

network {A.B.C.D}

Enables RIP on an IP network.

timeout <15-259200>

Configures the RIP timeout interval. The default is 180.

update <1-360>

Configures the RIP update timer. The update time is the time interval, in seconds, between RIP updates. The default is 30.

The following table defines parameters for the show ip rip command.

Variable

Value

vrf WORD<1-16>

Specifies a VRF by name.

vrfids WORD<0-512>

Specifies a range of VRF IDs.