[Contents] [Prev] [Next] [Index] [Report an Error]


Configuration Tasks

To configure RIP:

  1. Create a RIP process by enabling RIP.
host1(config)#router rip
  1. (Optional) Configure the global RIP version. RIP version 1 is used by default.
host1(config-router)#version 2
  1. (Optional) Do one of the following:
host1(config-router)#network 10.2.1.0 255.255.255.0
host1(config-if)#ip rip 
host1(config-if)#ip rip receive version 1
host1(config-if)#ip rip send version 2
host1(config-if)#ip rip authentication mode text 
host1(config-if)#ip rip authentication key klaatu42 
host1(config-router)#address 10.2.1.1 
host1(config-router)#address 10.2.1.1 receive version 1
host1(config-router)#address 10.2.1.1 send version 2
host1(config-router)#address 10.2.1.1 authentication mode 
text
host1(config-router)#address 10.2.1.1 authentication key 
31barada

Each configuration step is optional, and includes the following:

  1. (Optional) Enable RIP to advertise a default route.
host1(config-router)#default-information originate
  1. (Optional) Specify a default metric for advertised routes.
host1(config-router)#default-metric 5
  1. (Optional) Set the administrative distance for advertised routes.
host1(config-router)#distance 150
  1. (Optional) Control the dynamic distribution of routes caused by changes to an associated route map.
host1(config-router)#disable-dynamic-redistribute
  1. (Optional) Adjust RIP timers.
host1(config-router)#timers update 20
host1(config-router)#timers invalid 60
host1(config-router)#timers holddown 60
host1(config-router)#timers flush 90
  1. (Optional) Specify maximum number of ECMP paths.
host1(config-router)#maximum-paths 2
  1. (Optional) Summarize routes.

Use a prefix tree to specify the number of bits to report for routes matching a route map:

host1(config)#ip prefix-tree boston permit 10.10.2.0/24
host1(config-router)#route-map 4 
host1(config-route-map)#match-set summary prefix-tree boston 

Alternatively, explicitly specify routes for RIP to summarize:

host1(config-router)#ip summary-address 4.4.0.0 

255.255.0.0 5 
host1(config-router)#ip summary-address 4.3.0.0 

255.255.0.0 6 
  1. (Optional) Redistribute routes from other protocols into RIP, or from RIP to other protocols.
host1(config-router)#redistribute rip 5
host1(config-router)#route-map 4
host1(config-router)#redistribute bgp 100 route-map 4
  1. (Optional) Enable unicast communication with RIP neighbors.
host1(config-router)#neighbor 10.10.21.100
host1(config-router)#passive-interface atm atm 2/0.16
  1. (Optional) Set the debounce time for interfaces brought down by some event.
host1(config-router)#debounce-time 30
  1. (Optional) Prevent RIP from purging the routing table for interfaces brought down by some event.
host1(config-router)#interface-event-disable
  1. (Optional) Prevent RIP from sending a more-specific route if a less-specific route has a better metric.
host1(config-router)#send-more-specific-routes-disable
  1. (Optional) Prevent RIP from sending triggered updates.
host1(config-router)#triggered-update-disable
  1. (Optional) Apply a table map to modify route distance.
host1(config-router)#table-map dist1

Relationship Between address and network Commands

If you use the network command to configure a RIP network, use the ip rip commands to configure the RIP attributes for that network. Do not use the address commands.

If you use the address command to configure a RIP network, use the address commands to configure the RIP attributes for that network. Do not use the ip rip commands.



Note: The network and ip rip commands are maintained for industry compatibility. You can configure all your RIP interfaces with the address commands. You cannot configure unnumbered interfaces with the network and ip rip commands.

    address

host1(config-router)#address 10.2.1.1 

    address authentication key

host1(config-router)#address 10.2.1.1 authentication key 
ke6G72mV

    address authentication mode

host1(config-router)#address 10.2.1.1 authentication mode 
text

    address receive version

host1(config-router)#address 10.2.1.1 receive version 1

    address send version

host1(config-router)#address 10.2.1.1 send version 2

    clear ip rip redistribution

host1#clear ip rip redistribution

    debounce-time

host1(config-router)#debounce-time 30

    default-information originate

host1(config-router)#default-information originate

    default-metric

host1(config-router)#default-metric 5

    disable

host1(config-router)#disable

    disable-dynamic-redistribute

host1(config-router)#disable-dynamic-redistribute

    distance

host1(config-router)#distance 150

    distribute-list

host1(config-router)#distribute-list 5 incoming

    interface-event-disable

host1(config-router)#interface-event-disable

    ip prefix-tree

host1(config)#ip prefix-tree boston42 permit 10.10.2.0/24

    ip rip

host1(config-if)#ip rip 

    ip rip authentication key

host1(config-if)#ip rip authentication key ke6G72mV 

    ip rip authentication mode

host1(config-if)#ip rip authentication mode text 

    ip rip receive version

host1(config-if)#ip rip receive version 1

    ip rip send version

host1(config-if)#ip rip send version 2

    ip split-horizon

host1(config-if)#no ip split-horizon

    ip summary-address

host1(config-router)#ip summary-address 4.4.0.0 

255.255.0.0 5 
host1(config-router)#ip summary-address 4.3.0.0 

255.255.0.0 6 

    match-set summary prefix-tree

host1(config-route-map)#match-set summary prefix-tree boston 

    maximum-paths

host1(config-router)#maximum-paths 2

    neighbor

host1(config-router)#neighbor 10.10.21.100

    network

host1(config-router)#network 10.2.1.0 255.255.255.0
host1(config-router)#network 10.2.1.0 0.0.0.255

    passive-interface

host1(config-router)#passive-interface atm atm 2/0.16

    redistribute

host1(config)#router rip 5
host1(config-router)#redistribute bgp 100 route-map 4
host1(config)#router bgp 100
host1(config-router)#redistribute rip 5

    route-map

host1(config)#router rip
host1(config-router)#route-map 4

    router rip

host1(config)#router rip

    send-more-specific-routes-disable

host1(config-router)#send-more-specific-routes-disable

    table-map

host1(config)#route-map dist1 permit 5
host1(config-route-map)#match community boston42
host1(config-route-map)#set distance 33
host1(config-route-map)#exit
host1(config)#router rip 100
host1(config-router)#table-map dist1
host1(config-router)#exit
host1(config)#exit
host1#clear ip routes *

    timers

host1(config-router)#timers update 20
host1(config-router)#timers invalid 60
host1(config-router)#timers holddown 60
host1(config-router)#timers flush 90

    triggered-update-disable

host1(config-router)#triggered-update-disable

    version

host1(config-router)#version 2

[Contents] [Prev] [Next] [Index] [Report an Error]