DES-7200 Configuration Guide Chapter 2 RIP
Configuration
2-24
corresponding interface. The key-string specifies the key set that can be used by
this interface. If key-string is not configured, no authentication will take place.
Therefore, before configuring authentication, the key chain and the associated
key string must be configured first.
There are two RIP authentication modes: plain text and MD5, while plain text is
the default authentication mode.
The authentication key for sending RIP packets must be configured with the
first key on keychain;
When configuring the authentication key that can be received, simply
configure any key on the keychain.
Configuration Steps
# SwitchA:
! Configure the IP address of Ethernet interface
DES-7200>enable
DES-7200#configure terminal
DES-7200(config)#interface gigabitEthernet 0/1
DES-7200(config-if)#no switchport
DES-7200(config-if)#ip address 192.168.27.1 255.255.255.0
DES-7200(config-if)#exit
! Configure the key chain named "DES-7200"
DES-7200(config)#key chain DES-7200
! Configure the first key of "Key 1", which contains the key-string of "Hello", and
configure the corresponding time period needed
DES-7200(config-keychain)#key 1
DES-7200(config-keychain-key)#key-string Hello
DES-7200(config-keychain-key)#accept-lifetime 16:30:00 Oct 1 2010 duration
43200
DES-7200(config-keychain-key)#send-lifetime 16:30:00 Oct 1 2010 duration 43200
DES-7200(config-keychain-key)#exit
! Configure the second key of "Key 2", which contains the key-string of "World",
and configure the corresponding time period needed
DES-7200(config-keychain)#key 2
DES-7200(config-keychain-key)#key-string World
DES-7200(config-keychain-key)#accept-lifetime 04:00:00 Oct 2 2010 infinite
//Beginning time that the key is valid to be received
DES-7200(config-keychain-key)#send-lifetime 04:00:00 Oct 2 2010 infinite
//Beginning time that the key is valid to be sent
DES-7200(config-keychain-key)#end