ospf key1 key 2

ospf key1  key 2

R1  -s0/0-------s0/0----R4

key 值若不一致,则认证不成功.

===============================================================================================

Rack31R4#sh run | se r ospf

router ospf 31

 router-id 31.31.4.4

 log-adjacency-changes

 area 142 authentication message-digest

 network 0.0.0.0 255.255.255.255 area 142

 

Rack31R1#sh run | se r ospf

router ospf 31

 router-id 31.31.1.1

 log-adjacency-changes

 area 142 authentication message-digest

 network 0.0.0.0 255.255.255.255 area 142

 

Rack31R4#debug ip ospf adj

OSPF adjacency events debugging is on

Rack31R4#

*Jan 26 18:27:26.066: OSPF: Rcv pkt from 31.31.17.1, FastEthernet0/0, area 0.0.0.142 : src not on the same network

*Jan 26 18:27:26.066: OSPF: Rcv pkt from 31.31.17.1, FastEthernet0/1, area 0.0.0.142 : src not on the same network

*Jan 26 18:27:26.519: OSPF: Send with youngest Key 0

Rack31R4#

*Jan 26 18:27:28.903: OSPF: Send with youngest Key 0

*Jan 26 18:27:28.903: OSPF: Send with youngest Key 0

*Jan 26 18:27:28.903: OSPF: Send with youngest Key 0

*Jan 26 18:27:28.907: OSPF: Send with youngest Key 0

*Jan 26 18:27:28.907: OSPF: Rcv pkt from 31.31.144.4, FastEthernet0/0, area 0.0.0.142 : src not on the same network

*Jan 26 18:27:28.911: OSPF: Rcv pkt from 31.31.44.4, FastEthernet0/1, area 0.0.0.142 : src not on the same network

Rack31R4#

 

=======================================================================================================

Rack31R4(config)#int s0/0

Rack31R4(config-if)#ip os message-digest-key 2 md5 cisco

Rack31R1(config)#int s0/0

Rack31R1(config-if)#ip os message-digest-key 1 md cisco

key 值若不一致,则认证不成功.

Rack31R4#debug ip os adj

Rack31R4#

*Jan 26 18:22:15.821: OSPF: Rcv pkt from 31.31.17.1, FastEthernet0/0, area 0.0.0.142 : src not on the same network

*Jan 26 18:22:15.821: OSPF: Rcv pkt from 31.31.17.1, FastEthernet0/1, area 0.0.0.142 : src not on the same network

*Jan 26 18:22:15.825: OSPF: Rcv pkt from 31.31.14.1, Serial0/0 : Mismatch Authentication Key - No message digest key 1 on interface

Rack31R4#

*Jan 26 18:22:18.726: OSPF: Send with youngest Key 0

*Jan 26 18:22:18.726: OSPF: Send with youngest Key 0

*Jan 26 18:22:18.726: OSPF: Rcv pkt from 31.31.144.4, FastEthernet0/0, area 0.0.0.142 : src not on the same network

1、本站资源长期持续更新。
2、本资源基本为原创,部分来源其他付费资源平台或互联网收集,如有侵权请联系及时处理。
3、本站大部分文章的截图来源实验测试环境,请不要在生产环境中随意模仿,以免带来灾难性后果。

转载请保留出处:  www.zh-cjh.com珠海陈坚浩博客 » ospf key1 key 2

作者: cjh


手机扫一扫,手机上查看此文章:

一切源于价值!

其他 模板文件不存在: ./template/plugins/comment/pc/index.htm

未雨绸缪、居安思危!

数据安全、有备无患!

注意操作、数据无价!

一切源于价值!