Adjusting Timers
Problem
You wish to tune your routing protocol performance to improve the time that the network takes to converge after a topology change.
Solution
RIP has several timers that control things like how often it sends updates and how long it takes to remove a bad route. You can adjust these values with the timers basic configuration command:
Router2#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router2(config)#router ripRouter2(config-router)#timers basicRouter2(config-router)#20 80 80 120exitRouter2(config)#endRouter2#
Discussion
The timers basic command controls all of the adjustable timers for RIP:
Router2(config-router)#timers basic20 80 80 120
The four arguments are, in order, the update period, the invalid route timer, the holddown timer, and the flush timer. All of these times are in seconds.
The update period controls how often the router sends updates to its neighbors. The default update period is 30 seconds. Reducing this period can help improve convergence times. However, you have to remember that RIP sends the entire routing table in each update cycle. So if the routing table is large, reducing this period too much can cause serious bandwidth loading problems on slower links.
The invalid route timer controls how long the router will wait before a particular route is declared invalid. If the route disappears from routing updates from neighboring routers for this length of time, the router will mark it invalid. The router ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access