Modifying the Default RIP Parameters

Problem

You want to modify the default parameters such as timers and administrative distance for IPv6 RIP.

Solution

There are several customizations that we can make to the default RIP configuration. You can modify the timers by using the timers command in the RIP configuration mode:

Router1#configure terminal 
Enter configuration commands, one per line. End with CNTL/Z.
Router1(config)#ipv6 unicast-routing
Router1(config)#ipv6 router rip RIP_PROC
Router1(config-rtr)#timers 15 60 5 120
Router1(config-rtr)#exit
Router1(config)#end
Router1#

You can change the default administrative distance with the distance command:

Router1#configure terminal 
Enter configuration commands, one per line. End with CNTL/Z.
Router1(config)#ipv6 unicast-routing
Router1(config)#ipv6 router rip RIP_PROC
Router1(config-rtr)#distance 100
Router1(config-rtr)#exit
Router1(config)#end
Router1#

And, in NBMA networks in particular, it is often necessary to disable the default split-horizon behavior of RIP:

Router1#configure terminal 
Enter configuration commands, one per line. End with CNTL/Z.
Router1(config)#ipv6 unicast-routing
Router1(config)#ipv6 router rip RIP_PROC
Router1(config-rtr)#no split-horizon
Router1(config-rtr)#exit
Router1(config)#end
Router1#

Discussion

You can see the current RIP configuration with the show ipv6 rip command. Here is the output of this command before you make any changes to the default configuration:

Router1#show ipv6 rip RIP process "RIP_PROC", port ...

Get Cisco IOS Cookbook, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.