动态路由协议ospf配置验证
1、动态路由协议ospf支持明文验证和加密验证。我们这里以三台2811路由器配置。

3、配置R1的ospfR1(config-if)#router ospf 1R1(config-router)#network 192.168.1.1 0.0.0.0 area 0

5、配置R2的ospfR2(config-if)#router ospf 1R2(config-router)#network 192.168.1.2 0.0.0.0 area 0R2(config-router)#network 192.168.2.1 0.0.0.0 area 0
6、查看R3的直接网络R3#sh ip int bri

8、验证是在线路上的验证,我们洧粽袄淖配置R1的接口线路。我们先配置明文验证。R1(config)#interface fa0/0R1(config-if)#ip ospf authenticatio荏鱿胫协nR1(config-if)#ip ospf authentication-key ospf这里的密码设置为ospf

10、配置R2加密验证message-digest,加密类型是md5。R2(config)#interface f锾攒揉敫a0/1R2(config-if)#ip ospf authentication message-digestR2(config-if)#ip ospf message-digest-key 1 md5 eigrp

12、查看路由邻居表R2#show ip ospf neighbor

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:51
阅读量:31
阅读量:39
阅读量:55
阅读量:77