Configuring RIP
21-4 IPv4 Basic Routing Protocols
The following code example enables RIP on the router, disables automatic route summarization.
then enables RIP on VLANs 5 and 10 and configures MD5 authentication. This example assumes
that VLANs 5 and 10 have already been configured for routing.
C5(su)->router#configure
C5(su)->router(Config)#router rip
C5(su)->router(Config-router)# no auto-summary
C5(su)->router(Config-router)#exit
C5(su)->router(Config)#interface vlan 5
C5(su)->router(Config-if(Vlan 5))#ip rip enable
C5(su)->router(Config-if(Vlan 5))#ip rip message-digest-key 5 md5 password
C5(su)->router(Config-if(Vlan 5))#exit
C5(su)->router(Config)#interface vlan 10
C5(su)->router(Config-if(Vlan 10))#ip rip enable
C5(su)->router(Config-if(Vlan 10))#ip rip message-digest-key 10 md5 mypassword
C5(su)->router(Config-if(Vlan 10))#exit
C5(su)->router(Config)#
3. In router configuration mode, optionally disable
automatic route summarization (necessary for
enabling CIDR).
no auto-summary
4. In router configuration mode, optionally enable
split horizon poison reverse.
split-horizon poison
5. In router configuration mode, optionally enable
route redistribution of non-RIP protocol routes.
Note: OSPF is an advanced routing feature that
requires an advanced feature license and is only
available on platforms that support advanced
routing.
redistribute {connected | ospf
process-id | static} [metric metric
value] [subnets]
6. In router configuration mode, optionally
configure an interface to not send RIP updates.
passive-interface vlan vlan-id
7. In router configuration mode, optionally
configure an interface to not receive RIP
updated packets.
no receive-interface vlan vlan-id
8. In interface configuration mode, enable RIP on
the interface.
ip rip enable
9. In interface configuration mode, optionally
configure the RIP version used to send RIP
update packets.
ip rip send version {1 | 2 |
r1compatible}
10. In interface configuration mode, optionally
configure the RIP version for RIP update
packets accepted on an interface.
ip rip receive version {1 | 2 | 1 2
| none}
11. In interface configuration mode, optionally
configure authentication.
To configure a clear text authentication
password to be used on the interface:
To configure MD5 authentication:
ip rip authentication-key name
ip rip message-digest-key keyid md5
key
Procedure 21-1 Basic RIP Configuration (continued)
Step Task Command(s)