Use this task to customize RIP for network timing and the acceptance of route entries.
This example uses interface GigabitEthernet 0/1/0/0. Replace the sample interface and timer values with values from your environment.
Each command in this task is optional. Configure only the settings that your network requires.
Procedure
|
1. |
Enter RIP configuration mode.
Example:
Router# configure
Router(config)# router rip
|
|
2. |
Enable automatic route summarization.
By default, auto-summary is disabled. If the network contains disconnected subnets, use the no form of this command so that the router can send subnet and host routing information across classful network boundaries.
Example:
Router(config-rip)# auto-summary
|
|
3. |
Configure RIP network timers.
Use this command to adjust the RIP update, invalid, holddown, and flush timers. You can view the current and default timer values in the output of the show rip command.
Example:
Router(config-rip)# timers basic 5 15 15 30
|
|
4. |
Configure the delay between RIP update packets.
Use this command when a high-end router sends updates to a lower-speed router that cannot receive packets at the default rate.
Example:
Router(config-rip)# output-delay 10
|
|
5. |
Enable nonstop forwarding (NSF) for RIP routes.
Example:
Router(config-rip)# nsf
|
|
6. |
Enter RIP interface configuration mode.
Example:
Router(config-rip)# interface GigabitEthernet 0/1/0/0
|
|
7. |
Allow the interface to accept route entries that are received with metric zero.
The router changes a received metric of zero to a metric of one.
Example:
Router(config-rip-if)# metric-zero-accept
|
|
8. |
Disable split horizon on the interface.
Split horizon is enabled by default. Change this setting only if the network requires a different advertisement behavior.
Example:
Router(config-rip-if)# split-horizon disable
|
|
9. |
Enable poison reverse processing for RIP updates and commit the configuration.
Example:
Router(config-rip-if)# poison-reverse
Router(config-rip-if)# commit
The router applies the configured RIP customization settings.
|
RIP uses the configured route summarization, timers, delay, NSF, and interface settings.
RIP timer configuration for each VRF example
This example shows how to adjust RIP timers for each VPN routing and forwarding (VRF) instance.
For VRF instance vpn0, the timers basic command sets the update, invalid, suppression, and flush timers to 10, 30, 30, and 45 seconds.
For VRF instance vpn1, the timers basic command sets the timers to 20, 60, 60, and 70 seconds. The output-delay command sets the delay between RIP update packets to 10 milliseconds.
Router(config)# router rip
Router(config-rip)# interface GigabitEthernet0/6/0/0
Router(config-rip-if)# exit
Router(config-rip)# vrf vpn0
Router(config-rip-vrf)# interface GigabitEthernet0/6/0/2
Router(config-rip-if)# exit
Router(config-rip-vrf)# timers basic 10 30 30 45
Router(config-rip-vrf)# exit
Router(config-rip)# vrf vpn1
Router(config-rip-vrf)# interface GigabitEthernet0/6/0/3
Router(config-rip-if)# exit
Router(config-rip-vrf)# timers basic 20 60 60 70
Router(config-rip-vrf)# output-delay 10
Router(config-rip-vrf)# commit