码迷,mamicode.com
首页 > 其他好文 > 详细

基于链路的OSPFMD5口令认证

时间:2018-06-26 20:45:02      阅读:155      评论:0      收藏:0      [点我收藏+]

标签:bsp   认证   1.0   基于   com   min   The   conf   router   

实验要求:掌握基于链路的OSPFMD5口令认证

拓扑如下:

技术分享图片

 

配置如下:

 

R1
enable
configure terminal
interface s0/0/0
ip address 192.168.1.1 255.255.255.0
no shutdown
clock rate 64000
interface l0
ip address 1.1.1.1 255.255.255.0
exit
router ospf 1
network 192.168.1.0 0.0.0.255 area 0
network 1.1.1.0 0.0.0.255 area 0
interface s0/0/0
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 123

 

 

R2
enable
configure terminal
interface s0/0/0
ip address 192.168.1.2 255.255.255.0
no shutdown
clock rate 64000
interface l0
ip address 2.2.2.2 255.255.255.0
exit
router ospf 1
network 192.168.1.0 0.0.0.255 area 0
network 2.2.2.0 0.0.0.255 area 0
interface s0/0/0
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 123

 

基于链路的OSPFMD5口令认证

标签:bsp   认证   1.0   基于   com   min   The   conf   router   

原文地址:https://www.cnblogs.com/guoshiyu/p/9230920.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!