Step 1 |
enable
Example:
Switch> enable
|
Enables
privileged EXEC mode. Enter your password if prompted.
|
Step 2 | configure
terminal
Example:
Switch# configure terminal
|
Enters the global
configuration mode.
|
Step 3 | ip
routing
Example:
Switch(config)# ip routing
|
Enables IP
routing. (Required only if IP routing is disabled.)
|
Step 4 | router
rip
Example:
Switch(config)# router rip
|
Enables a RIP
routing process, and enter router configuration mode.
|
Step 5 | network
network number
Example:
Switch(config)# network 12
|
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.
Note
|
You must
configure a network number for the RIP commands to take effect.
|
|
Step 6 | neighbor
ip-address
Example:
Switch(config)# neighbor 10.2.5.1
|
(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 7 | offset-list [access-list
number |
name] {in |
out}
offset [type number]
Example:
Switch(config)# offset-list 103 in 10
|
(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 8 | timers
basic
update invalid holddown
flush
Example:
Switch(config)# timers basic 45 360 400 300
|
(Optional)
Adjusts routing protocol timers. Valid ranges for all timers are 0 to
4294967295 seconds.
-
update—The time between sending routing updates.
The default is 30 seconds.
-
invalid—The timer after which a route is declared
invalid. The default is 180 seconds.
-
holddown—The time before a route is removed from
the routing table. The default is 180 seconds.
-
flush—The amount of time for which routing updates
are postponed. The default is 240 seconds.
|
Step 9 | version {1 |
2}
Example:
Switch(config)# version 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 10 | no auto
summary
Example:
Switch(config)# no auto summary
|
(Optional)
Disables automatic summarization. By default, the switch summarizes subprefixes
when crossing classful network boundaries. Disable summarization (RIP Version 2
only) to advertise subnet and host routing information to classful network
boundaries.
|
Step 11 | no
validate-update-source
Example:
Switch(config)# no validdate-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 source address is not valid. Under
normal circumstances, disabling this 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 12 | output-delay
delay
Example:
Switch(config)# output-delay 8
|
(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 13 | end
Example:
Switch(config)# end
|
Returns to
privileged EXEC mode.
|
Step 14 | show ip
protocols
Example:
Switch# show ip protocols
|
Verifies your
entries.
|
Step 15 | copy running-config
startup-config
Example:
Switch# copy running-config startup-config
|
(Optional) Saves your entries
in the configuration file.
|