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
Router1(config-rtr)#
RIP_PROC
timers
Router1(config-rtr)#
15 60 5 120
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
Router1(config-rtr)#
RIP_PROC
distance
Router1(config-rtr)#
100
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
Router1(config-rtr)#
RIP_PROC
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.