11-6
Ethernet Card Software Feature and Configuration Guide, R7.2
January 2009
Chapter 11 Configuring Networking Protocols
Configuring RIP
Command Purpose
Step 1 Router# configure terminal Enters global configuration mode.
Step 2 Router(config)# ip routing Enables IP routing. (Required only if IP routing is disabled.)
Step 3 Router(config)# router rip Enables a RIP routing process, and enters router configuration mode .
Step 4 Router(config-router)# network
network-number
Associates a network with a RIP routing process. You can specify
multiple network commands. RIP routing updates are sent and received
through interfaces only on these networks.
Step 5 Router(config-router)# neighbor
ip-address
(Optional) Defines a neighboring router with which to exchange routing
information. This step allows routing updates from RIP (normally a
broadcast protocol) to reach nonbroadcast networks.
Step 6 Router(config-router)# offset list
{[
access-list-number
|
name
]} {in |
out}
offset
[
type-number
]
(Optional) Applies an offset list to routing metrics to increase incoming
and outgoing metrics to routes learned through RIP. You can limit the
offset list with an access list or an interface.
Step 7 Router(config-router)# timers basic
update invalid holddown flush
(Optional) Adjusts routing protocol timers. Valid ranges for all timers are
0 to 4294967295 seconds.
update—The time (in seconds) between sending of routing updates.
The default is 30 seconds.
invalid—The timer interval (in seconds) after which a route is
declared invalid. The default is 180 seconds.
holddown—The time (in seconds) that must pass before a route is
removed from the routing table. The default is 180 seconds.
flush—The amount of time (in seconds) for which routing updates
are postponed. The default is 240 seconds.
Step 8 Router(config-router)# version {1 |
2}
(Optional) Configures the switch to receive and send only RIP Version 1
or RIP Version 2 packets. By default, the switch receives Version 1 and 2
but sends only Version 1.
You can also use the interface commands ip rip {send | receive} version
{1 | 2 | 1 2} to control what versions are used for sending and receiving
on interfaces.
Step 9 Router(config-router)# no auto
summary
(Optional) Disables automatic summarization. By default, the switch
summarizes subprefixes when crossing classful network boundaries.
Disables summarization (RIP Version 2 only) to advertise subnet and host
routing information to classful network boundaries.
Step 10 Router(config-router)# no
validate-update-source
(Optional) Disables validation of the source IP address of incoming RIP
routing updates. By default, the switch validates the source IP address of
incoming RIP routing updates and discards the update if the so urce
address is not valid. Under normal circumstances, disabling thi s feature
is not recommended. However, if you have a router that is off-network
and you want to receive its updates, you can use this command.
Step 11 Router(config-router)# output-delay
delay
(Optional) Adds interpacket delay for RIP updates sent. By default,
packets in a multiple-packet RIP update have no delay added between
packets. If you are sending packets to a lower-speed device, you can add
an interpacket delay in the range of 8 to 50 milliseconds.
Step 12 Router(config-router)# end Returns to privileged EXEC mode.