cisco上的RIP V2加上MD5认证配置测试成功

R1:

复制代码
Router#show run
Building configuration...

Current configuration : 1133 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
!
!
!
ip cef
!
!
!
key chain RIP-MK5-KEY
 key 1
  key-string ripv2md5
!
!
!
!
!
!
!
!
!
!
!
! 
!
!
!
!
interface Loopback0
 ip address 1.1.1.1 255.255.255.0
!
interface FastEthernet0/0
 ip address 12.0.0.1 255.255.255.0
 ip rip authentication mode md5
 ip rip authentication key-chain RIP-MK5-KEY
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Serial1/0
 ip address 21.0.0.1 255.255.255.0
 serial restart-delay 0
!
interface Serial1/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/2
 no ip address
 shutdown 
 serial restart-delay 0
!
interface Serial1/3
 no ip address
 shutdown
 serial restart-delay 0
!
router rip
 version 2
 passive-interface Loopback0
 network 1.0.0.0
 network 12.0.0.0
 network 21.0.0.0
!
ip http server
no ip http secure-server
ip classless
!
!
!
!
!
!         
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
end
复制代码

 

R2:

复制代码
Router#show run
Building configuration...

Current configuration : 1059 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
!
!
!
ip cef
!
!
!
key chain RIP-MK5-KEY
 key 1
  key-string ripv2md5
!
!
!
!
!
!
!
!
!
!
!
! 
!
!
!
!
interface FastEthernet0/0
 ip address 12.0.0.2 255.255.255.0
 ip rip authentication mode md5
 ip rip authentication key-chain RIP-MK5-KEY
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 23.0.0.2 255.255.255.0
 duplex auto
 speed auto
!
interface Serial1/0
 ip address 21.0.0.2 255.255.255.0
 serial restart-delay 0
!
interface Serial1/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/3
 no ip address
 shutdown
 serial restart-delay 0
!
router rip
 version 2
 network 12.0.0.0
 network 21.0.0.0
 network 23.0.0.0
!
ip http server
no ip http secure-server
ip classless
!
!
!
!
!
!
!
!
!
!
!         
!
line con 0
line aux 0
line vty 0 4
!
end
复制代码

 

拓朴结构同前.

测试过程:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值