RIP Configuration
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
27.5
Names of Commands Used
ip rip authentication string, ip rip authentication mode, redistribute, network
Validation Commands
show run, show ip rip, show ip protocol rip, show ip rip interface, show ip route
RIPv2 text authentication (multiple
keys)
This example illustrates text authentication of the routing information exchange process for RIP
using multiple keys. The routing devices in this example are Allied Telesis managed Layer 3
Switches. Switch 1 and Switch 2 are running RIP and exchanging routing updates. To configure
authentication on Switch 1, define a key chain, specify keys in the key chain and then define the
authentication string or passwords to be used by the keys. Set the time period during which it is
valid to receive or send the authentication key by specifying the accept and send lifetimes. After
defining the key string, specify the key chain (or the set of keys) that will be used for
authentication on each interface and also the authentication mode to be used.
Switch 1 accepts all packets that contain any key string that matches one of the key strings
included in the specified key chain (within the accept lifetime) on that interface. The key ID is
not considered for matching. For additional security, the accept lifetime and send lifetime are
configured such that every fifth day the key ID and key string changes. To maintain continuity,
the accept lifetimes should be configured to overlap. This will accommodate different time-
setup on machines. However, the send lifetime does not need to overlap and we recommend
not configuring overlapping send lifetimes.
Switch 1
rip_4
Switch 2
Switch 1
port1.0.0
port1.0.1
10.10.10.10
10.10.10.50
port1.0.1
10.10.12.50
port1.0.2
10.10.11.10
awplus#
configure terminal
Enter the
Configure
mode.
awplus(config)#
router rip
Define a RIP routing process and enter the Router
mode.
awplus(config-router)#
network 10.10.10.0/24
Associate network
10.10.10.0/24
with the RIP
process.
awplus(config-router)#
redistribute
connected
Enable redistributing of connected routes.
awplus(config-router)#
exit
Exit the Router mode and return to the Configure
mode.
awplus(config)#
key chain SUN
Enter the key chain management mode to add keys to
the key chain
SUN
.
awplus(config-keychain)#
key 10
Add authentication key ID (
10
) to the key chain
SUN
.