DES-7200 Configuration Guide Chapter 2 RIP
Configuration
2-26
! Configure G0/1 to use MD5 authentication key to authenticate the update
messages sent from SwitchA
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
Verification
Execute "show run" command to verify the correctness of configurations (taking
SwitchA as the example):
DES-7200#show run
Building configuration...
Current configuration : 1561 bytes
!
vlan 1
!
!
key chain DES-7200
key 1
key-string Hello
accept-lifetime 16:30:00 Oct 01 2010 duration 43200
send-lifetime 16:30:00 Oct 01 2010 duration 43200
key 2
key-string World
accept-lifetime 04:00:00 Oct 02 2010 infinite
send-lifetime 04:00:00 Oct 02 2010 infinite
!
no service password-encryption
!
interface GigabitEthernet 0/1
no switchport
ip rip authentication mode md5
ip rip authentication key-chain DES-7200
no ip proxy-arp
ip address 192.168.27.1 255.255.255.0