Configuring RIP
S e n d d o c u m e n t c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
This example shows how to create a VRF and add an interface to the VRF:
switch# configure terminal
switch(config)# vrf context RemoteOfficeVRF
switch(config-vrf)# exit
switch(config)# router rip Enterprise
switch(config-router)# vrf RemoteOfficeVRF
switch(config-router-vrf)# address-family ipv4 unicast
switch(config-router-vrf-af)# redistribute eigrp 201 route-map RIPmap
switch(config-router-vrf-af)# interface ethernet 1/2
switch(config-if)# no switchport
switch(config-if)# vrf member RemoteOfficeVRF
switch(config-if)# ip address 192.0.2.1/16
switch(config-if)# ip router rip Enterprise
switch(config-if)# copy running-config startup-config
Tuning RIP
You can tune RIP to match your network requirements. RIP uses several timers that determine the
frequency of routing updates, the length of time before a route becomes invalid, and other parameters.
You can adjust these timers to tune routing protocol performance to better suit your internetwork needs.
You must configure the same values for the RIP timers on all RIP-enabled routers in your network.
Note
You can use the following optional commands in address-family configuration mode to tune RIP:
Command
timers basic update timeout holddown
garbage-collection
Example:
switch(config-router-af)# timers basic 40
120 120 100
You can use the following optional commands in interface configuration mode to tune RIP:
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, NX-OS Release 5.0(3)U1(1)
7-16
Purpose
Sets the RIP timers in seconds. The parameters are
as follows:
update—The range is from 5 to any positive
•
integer. The default is 30.
timeout—The time that Cisco NX-OS waits
•
before declaring a route as invalid. If Cisco
NX-OS does not receive route update
information for this route before the timeout
interval ends, Cisco NX-OS declares the route
as invalid. The range is from 1 to any positive
integer. The default is 180.
holddown—The time during which Cisco
•
NX-OS ignores better route information for an
invalid route. The range is from 0 to any
positive integer. The default is 180.
garbage-collection—The time from when
•
Cisco NX-OS marks a route as invalid until
Cisco NX-OS removes the route from the
routing table. The range is from 1 to any
positive integer. The default is 120.
Chapter 7
Configuring RIP