DES-7200 Configuration Guide Chapter 2 RIP
Configuration
2-25
! Configure G0/1 to use MD5 authentication key to authenticate the update
messages sent from SwitchB
DES-7200#configure terminal
DES-7200(config)#interface gigabitEthernet 0/1
DES-7200(config-if)#ip rip authentication key-chain DES-7200
DES-7200(config-if)#ip rip authentication mode md5
DES-7200(config-if)#exit
! Configure RIP routing protocol
DES-7200(config)#router rip
DES-7200(config-router)#version 2
DES-7200(config-router)#network 192.168.27.0
# SwitchB:
! 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.2 255.255.255.0
DES-7200(config-if)#exit
! Configure key chain
DES-7200(config)#key chain DES-7200 //The name of key chain is only valid on
the local device. You can also use other names.
! 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 010 infinite
DES-7200(config-keychain-key)#send-lifetime 04:00:00 Oct 2 2010 infinite
DES-7200(config-keychain-key)#end