3.3 OSPF特性

图片[1]-3.3 OSPF特性-大赛人网
图3-38 OSPF 认证报文网络拓扑

1)空认证(认证类型字段为0)

不进行认证。
[R1]ospf 1 router-id 1.1.1.1
[R1-ospf-1]area 0
[R1-ospf-1-area-0.0.0.0]network 1.1.1.1 0.0.0.0
[R1-ospf-1-area-0.0.0.0]network 123.1.1.0 0.255.255.255

[R2]ospf 1 router-id 2.2.2.2
[R2-ospf-1]area 0
[R2-ospf-1-area-0.0.0.0]network 2.2.2.2 0.0.0.0
[R2-ospf-1-area-0.0.0.0]network 123.1.1.0 0.255.255.255

[R3]ospf 1 router-id 3.3.3.3
[R3-ospf-1]area 0
[R3-ospf-1-area-0.0.0.0]network 3.3.3.3 0.0.0.0
[R3-ospf-1-area-0.0.0.0]network 123.1.1.0 0.255.255.255
图片[2]-3.3 OSPF特性-大赛人网
图3-39 OSPF  空认证网络拓扑,认证字段Auth Type为0

2)简单口令认证(认证类型字段为1)

[R1-ospf-1]area 0
[R1-ospf-1-area-0.0.0.0]authentication-mode simple plain dsrw.com
[R2-ospf-1]area 0
[R2-ospf-1-area-0.0.0.0]authentication-mode simple plain dsrw.com
[R3-ospf-1]area 0
[R3-ospf-1-area-0.0.0.0]authentication-mode simple plain dsrw.com
[R3-ospf-1-area-0.0.0.0]dis this
  authentication-mode simple plain dsrw.com  
图片[3]-3.3 OSPF特性-大赛人网
图3-40 OSPF  密码认证网络拓扑,认证字段Auth Type为1
[R3-ospf-1-area-0.0.0.0]authentication-mode simple cipher dsrw.com
[R3-ospf-1-area-0.0.0.0]dis this
  authentication-mode simple cipher %$%$S(3k=N#iC-H|Zy$K=,i5Zpbb%$%$ 
  network 3.3.3.3 0.0.0.0 
  network 123.0.0.0 0.255.255.255 

3)密文认证(认证类型字段为2)

[R1-ospf-1-area-0.0.0.0]authentication-mode md5 1 cipher dsrw.com
[R2-ospf-1-area-0.0.0.0]authentication-mode md5 1 cipher dsrw.com
[R3-ospf-1-area-0.0.0.0]authentication-mode md5 1 cipher dsrw.com
[R1-ospf-1-area-0.0.0.0]display  this 
  authentication-mode md5 1 cipher %$%$`~"x6@k<-7!Mi~N\#7\,Zt.c%$%$
图片[4]-3.3 OSPF特性-大赛人网
图3-41 OSPF  md5认证网络拓扑,认证字段Auth Type为2

1 2 3 4 5 6

© 版权声明
THE END
喜欢就支持一下吧
点赞11 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称

    请登录后查看评论内容