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


Configuration Tasks

To configure RIP:

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

Each configuration step is optional, and includes the following:

  1. (Optional) Enable RIP to advertise a default route.
  2. host1(config-router)#default-information originate
    
    
    
  3. (Optional) Specify a default metric for redistributed routes on all subsequently created interfaces.
  4. host1(config-router)#default-metric 5
    
    
    
  5. (Optional) Set the administrative distance for advertised routes.
  6. host1(config-router)#distance 150
    
    
    
  7. (Optional) Control the dynamic distribution of routes caused by changes to an associated route map.
  8. host1(config-router)#disable-dynamic-redistribute
    
    
    
  9. (Optional) Adjust RIP timers.
  10. host1(config-router)#timers update 20
    
    host1(config-router)#timers invalid 60
    
    host1(config-router)#timers holddown 60
    
    host1(config-router)#timers flush 90
    
    
    
  11. (Optional) Specify maximum number of ECMP paths.
  12. host1(config-router)#maximum-paths 2
    
    
    
  13. (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, Chapter 1, Configuring Routing Policy.

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.
  2. host1(config-router)#redistribute rip 5
    
    host1(config-router)#route-map 4
    
    host1(config-router)#redistribute bgp 100 route-map 4
    
    
    
  3. (Optional) Enable unicast communication with RIP neighbors.
  4. host1(config-router)#neighbor 10.10.21.100
    
    host1(config-router)#passive-interface atm atm 2/0.16
    
    
    
  5. (Optional) Set the debounce time for interfaces brought down by some event.
  6. host1(config-router)#debounce-time 30
    
    
    
  7. (Optional) Prevent RIP from purging the routing table for interfaces brought down by some event.
  8. host1(config-router)#interface-event-disable
    
    
    
  9. (Optional) Prevent RIP from sending a more-specific route if a less-specific route has a better metric.
  10. host1(config-router)#send-more-specific-routes-disable
    
    
    
  11. (Optional) Prevent RIP from sending triggered updates.
  12. host1(config-router)#triggered-update-disable
    
    
    
  13. (Optional) Apply a table map to modify route distance.
  14. 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

address authentication key

address authentication mode

address receive version

address send version

clear ip rip redistribution

debounce-time

default-information originate

default-metric

disable

disable-dynamic-redistribute

distance

distribute-list

interface-event-disable

ip rip

ip rip authentication key

ip rip authentication mode

ip rip receive version

ip rip send version

ip split-horizon

ip summary-address

match-set summary prefix-tree

maximum-paths

neighbor

network

passive-interface

redistribute

route-map

router rip

send-more-specific-routes-disable

table-map

timers

triggered-update-disable

version


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