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

Configuration Tasks

To configure RIP:

  1. Create a RIP process by enabling RIP.
    host1(config)#router rip
  2. (Optional) Configure the global RIP version. RIPv1 is used by default.
    host1(config-router)#version 2
  3. (Optional) Do one of the following:

    Each configuration step is optional, and includes the following:

  4. (Optional) Enable RIP to advertise a default route.
    host1(config-router)#default-information originate
  5. (Optional) Specify a default metric for redistributed routes on all subsequently created interfaces.
    host1(config-router)#default-metric 5
  6. (Optional) Set the administrative distance for advertised routes.
    host1(config-router)#distance 150
  7. (Optional) Control the dynamic distribution of routes caused by changes to an associated route map.
    host1(config-router)#disable-dynamic-redistribute
  8. (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
  9. (Optional) Specify maximum number of ECMP paths.
    host1(config-router)#maximum-paths 2
  10. (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

    Note: For information about the ip prefix-tree command, see JUNOSe IP Services Configuration Guide.

    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
  11. (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
  12. (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
  13. (Optional) Set the debounce time for interfaces brought down by some event.
    host1(config-router)#debounce-time 30
  14. (Optional) Prevent RIP from purging the routing table for interfaces brought down by some event.
    host1(config-router)#interface-event-disable
  15. (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
  16. (Optional) Prevent RIP from sending triggered updates.
    host1(config-router)#triggered-update-disable
  17. (Optional) Apply a table map to modify route distance.
    host1(config-router)#table-map dist1

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