To configure RIP:
- host1(config)#router rip
- host1(config-router)#version 2
- 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:
- host1(config-router)#default-information originate
- host1(config-router)#default-metric 5
- host1(config-router)#distance 150
- host1(config-router)#disable-dynamic-redistribute
- host1(config-router)#timers update 20
- host1(config-router)#timers invalid 60
- host1(config-router)#timers holddown 60
- host1(config-router)#timers flush 90
- host1(config-router)#maximum-paths 2
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
- host1(config-router)#redistribute rip 5
- host1(config-router)#route-map 4
- host1(config-router)#redistribute bgp 100
route-map 4
- host1(config-router)#neighbor 10.10.21.100
- host1(config-router)#passive-interface atm
atm 2/0.16
- host1(config-router)#debounce-time 30
- host1(config-router)#interface-event-disable
- host1(config-router)#send-more-specific-routes-disable
- host1(config-router)#triggered-update-disable
- host1(config-router)#table-map dist1